From cd6fd07686d8cbe4d11181796496f89a9c43ed0f Mon Sep 17 00:00:00 2001 From: Nicolas Chevobbe Date: Mon, 22 Jul 2024 11:00:37 +0200 Subject: [PATCH] Tweak pre/code style --- css/root.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/css/root.css b/css/root.css index 5999b97..4fe5fbb 100644 --- a/css/root.css +++ b/css/root.css @@ -181,12 +181,16 @@ p.initial { text-align: center; } +pre { + line-height: 1.1; +} + pre, code { background-color: rgba(0,0,0,0.5); padding: 0.2em 0.5em; font-size: 0.8em; max-width: 100%; - overflow-x: scroll; + overflow-x: auto; font-family: monospace; } @@ -222,4 +226,4 @@ aside { background-color: rgb(250 250 240 / 0.2); padding: 1em; font-style: italic; -} \ No newline at end of file +}