From 983dabb33c2dddcdba65b8ab9d0922bd338628aa Mon Sep 17 00:00:00 2001 From: Anirudh Oppiliappan Date: Thu, 22 Dec 2022 21:19:00 +0530 Subject: css: wrap refs pre --- static/style.css | 11 +++++++++-- 1 file 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; + } } -- cgit