From ee804b9a40c054b2254dd1904496044620271f31 Mon Sep 17 00:00:00 2001 From: Sara Date: Sun, 28 Dec 2025 23:21:46 +0100 Subject: [PATCH] fixed scrolling for code blocks --- objectionable.solutions/style.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/objectionable.solutions/style.css b/objectionable.solutions/style.css index 6eac44c..f1ccb25 100644 --- a/objectionable.solutions/style.css +++ b/objectionable.solutions/style.css @@ -39,7 +39,10 @@ section { } code { - overflow-x: scroll; + display: block; + size: 100%; + overflow-y: clip; + overflow-x: auto; } footer { @@ -65,7 +68,8 @@ h4::before { } img { - max-width: 300px; + max-width: 100%; + width: 300px; border-radius: 5px; border: solid black 2px; border-color: var(--color-tl-border) var(--color-br-border)