From 228f21f09a6d98251267545ba4ee9c55701cc5ca Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sun, 14 Jun 2026 19:47:58 +0300 Subject: modified css to make code blocks fit --- static/global.css | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'static/global.css') diff --git a/static/global.css b/static/global.css index 6a2ec49..964060c 100644 --- a/static/global.css +++ b/static/global.css @@ -56,13 +56,10 @@ header { box-sizing: border-box; } -.x-scroll { - overflow-x: auto; -} -pre { +pre, .example, .src { padding: 1em; background-color: var(--code-bg); - width: fit-content; + overflow-x: auto; } figure > img { -- cgit v1.2.3