From 30e35200e3f1f5fcde79439ff067c7fcacac45f3 Mon Sep 17 00:00:00 2001 From: ministicraft Date: Tue, 14 Apr 2026 01:23:24 +0200 Subject: [PATCH] style: fit code blocks without scrollbars Set max-height:none and overflow:visible on pre/code blocks with a smaller font-size (0.48em) so all code fits on screen. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- index.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/index.html b/index.html index e4bd34d..1dfb0a8 100644 --- a/index.html +++ b/index.html @@ -63,6 +63,19 @@ margin-bottom: 0.2em; } + /* Code blocks: fit without scrollbars */ + .reveal pre { + width: 100%; + max-height: none; + overflow: visible; + } + .reveal pre code { + font-size: 0.48em; + line-height: 1.45; + max-height: none; + overflow: visible; + } + /* Tool logos — fixed like OVHcloud logo, toggled by JS per slide */ .tool-logo-global { position: fixed;