From bc503590943804838a98e35c705a89667e5b0758 Mon Sep 17 00:00:00 2001 From: Arne Rief Date: Fri, 12 Sep 2025 23:11:40 +0200 Subject: Codeblock horizontal scrolling --- assets/css/main.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index 7550f30..5a4f7c5 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -186,12 +186,12 @@ time { & > pre { border-radius: var(--border-radius-minimal); + max-width: 715px; + overflow-x: auto; /* enables horizontal scrolling */ padding: 0.5rem; - /* Preserving code indentation with mobile horizontal scrolling */ @media (max-width: 768px) { max-width: 330px; - overflow-x: auto; -webkit-overflow-scrolling: touch; /* iOS Safari only */ } } -- cgit v1.2.3