From a7eb1a0c87057998e169b0852fbe350f20169955 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 8 Jul 2024 22:00:05 -0400 Subject: theme: Improve code block sizing/scrolling. --- css/dthompson.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'css') diff --git a/css/dthompson.css b/css/dthompson.css index 7bdd6a6..1d1bc7d 100644 --- a/css/dthompson.css +++ b/css/dthompson.css @@ -40,9 +40,10 @@ a:visited { pre { font-family: "Inconsolata",monospace; + width: calc(100% - 1rem); line-height: 110%; - min-width: 100%; - padding: 1rem; + overflow-x: auto; + padding: 0.5rem; background-color: #222034; color: #deeed6; border-radius: 4px; -- cgit v1.2.3