From 88cb8f49ff3008a1cc4b774974d77c0de8a1713e Mon Sep 17 00:00:00 2001 From: "reaction.la" Date: Tue, 6 Feb 2024 22:17:16 +0000 Subject: [PATCH] Fixed the overflow problem in formatting to stop the wrapping --- docs/pandoc_templates/style.css | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/docs/pandoc_templates/style.css b/docs/pandoc_templates/style.css index 86c7240..4881b5d 100644 --- a/docs/pandoc_templates/style.css +++ b/docs/pandoc_templates/style.css @@ -46,12 +46,17 @@ td, th { } pre.terminal_image { font-family: 'DejaVu Sans Mono, Lucida Console, sans-serif'; - background-color: #000; + background-color: #000; color: #0F0; - font-size: 75%; - white-space: no-wrap; - } + font-size: 90%; + overflow: auto; + } +pre.terminal_image > code { white-space: pre; position: relative; + } +pre.text { overflow: auto; } +pre.text > code { white-space: pre; } + * { box-sizing: border-box;} .logo-header {