summaryrefslogtreecommitdiffstats
path: root/static
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-22 21:19:00 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-22 21:19:00 +0530
commit983dabb33c2dddcdba65b8ab9d0922bd338628aa (patch)
tree954329bee922f9f9d2cb5760be10ab393d0859e4 /static
parent30559cd9c23ca4e803364ba1848442d217560143 (diff)
downloadlegit-983dabb33c2dddcdba65b8ab9d0922bd338628aa.tar.gz
legit-983dabb33c2dddcdba65b8ab9d0922bd338628aa.tar.bz2
legit-983dabb33c2dddcdba65b8ab9d0922bd338628aa.zip
css: wrap refs pre
Diffstat (limited to '')
-rw-r--r--static/style.css11
1 files changed, 9 insertions, 2 deletions
diff --git a/static/style.css b/static/style.css
index b67f183..edb3538 100644
--- a/static/style.css
+++ b/static/style.css
@@ -20,7 +20,6 @@ html {
pre {
font-family: var(--mono-font);
- font-size: 0.8rem;
}
::selection {
@@ -220,6 +219,10 @@ a:hover {
align-items: center;
}
+.refs pre {
+ white-space: pre-wrap;
+}
+
.line-numbers {
white-space: pre-line;
-moz-user-select: -moz-none;
@@ -251,7 +254,7 @@ a:hover {
.commit-info {
color: var(--gray);
padding-bottom: 1.5rem;
- font-size: 0.75rem;
+ font-size: 0.85rem;
}
@media (max-width: 600px) {
@@ -276,4 +279,8 @@ a:hover {
.commit-info:not(:last-child) {
padding-bottom: 1.5rem;
}
+
+ pre {
+ font-size: 0.8rem;
+ }
}