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>
This commit is contained in:
2026-04-14 01:23:24 +02:00
parent 29bb591369
commit 30e35200e3

View File

@@ -63,6 +63,19 @@
margin-bottom: 0.2em; 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 logos — fixed like OVHcloud logo, toggled by JS per slide */
.tool-logo-global { .tool-logo-global {
position: fixed; position: fixed;