all repos — legit @ 983dabb33c2dddcdba65b8ab9d0922bd338628aa

web frontend for git

css: wrap refs pre
Anirudh Oppiliappan x@icyphox.sh
Thu, 22 Dec 2022 21:19:00 +0530
commit

983dabb33c2dddcdba65b8ab9d0922bd338628aa

parent

30559cd9c23ca4e803364ba1848442d217560143

1 files changed, 9 insertions(+), 2 deletions(-)

jump to
M static/style.cssstatic/style.css

@@ -20,7 +20,6 @@ }

pre { font-family: var(--mono-font); - font-size: 0.8rem; } ::selection {

@@ -220,6 +219,10 @@ grid-template-columns: 1fr 1fr;

align-items: center; } +.refs pre { + white-space: pre-wrap; +} + .line-numbers { white-space: pre-line; -moz-user-select: -moz-none;

@@ -251,7 +254,7 @@

.commit-info { color: var(--gray); padding-bottom: 1.5rem; - font-size: 0.75rem; + font-size: 0.85rem; } @media (max-width: 600px) {

@@ -275,5 +278,9 @@ }

.commit-info:not(:last-child) { padding-bottom: 1.5rem; + } + + pre { + font-size: 0.8rem; } }