From 6584c162076a0f21bb9f4c01fa6012c212b1e1ae Mon Sep 17 00:00:00 2001 From: Pagwin Date: Sat, 2 Nov 2024 22:33:22 -0400 Subject: [PATCH] now the pre shenanigans should be over barring esoteric nonsense --- static/css/layout.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/static/css/layout.css b/static/css/layout.css index 48b0404..181690c 100644 --- a/static/css/layout.css +++ b/static/css/layout.css @@ -74,6 +74,11 @@ blockquote { } pre { + /*We also need it on pre because not all pre blocks are source code >:(*/ + max-width: -moz-available; + max-width: -webkit-fill-available;; + max-width: fill-available; + width: fit-content; box-sizing: border-box; min-height: 2em; /*