cmc/cleberg.net

My personal web garden & blog.

clone: git clone https://gitbay.org/cmc/cleberg.net.git

65e64fdb12eafd702eff0363cf9ee6210c3ec72f

verified · cmc

author: Christian Cleberg <hello@cleberg.net> · 2026-03-13T22:27:19Z

fix overflow on pre elements
 theme/static/styles.css | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/theme/static/styles.css b/theme/static/styles.css
index 120f733..d7b08f1 100644
--- a/theme/static/styles.css
+++ b/theme/static/styles.css
@@ -8,5 +8,6 @@ img { max-width: 100%; }
 .skip-link { display: none; }
 footer { margin: 2rem 0;}
 pre, blockquote { margin: 1rem 0; padding: 0.5rem; background-color: lightgrey; }
+pre { overflow: auto; white-space: pre; }
 blockquote p { margin: 0; }
-code { color: darkred; }
\ No newline at end of file
+code { color: darkred; }