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:
13
index.html
13
index.html
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user