From 3573f9241c46c598b247f31ce7e7f446947dbdff Mon Sep 17 00:00:00 2001 From: dvs1 Date: Fri, 14 Mar 2025 15:39:46 +1000 Subject: Make code blocks resize properly. --- default.template | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/default.template b/default.template index 9aeef16..2357782 100644 --- a/default.template +++ b/default.template @@ -17,10 +17,8 @@ menu {list-style-type: none;} pre { background-image: linear-gradient(to right, $PinkFloyd$, $onefangPurple$); - overflow-x: auto; - width: 99%; - margin: 2px; - border: 2px solid grey; + width: fit-content; max-width: 99%; overflow-x: auto; + margin: 2px; border: 2px solid grey; } table, td, th {border-collapse: collapse; border: 2px solid grey;} -- cgit v1.1