From f408c5206ca22529d5dd4e67c43634b87d221c44 Mon Sep 17 00:00:00 2001 From: blankie Date: Fri, 24 Nov 2023 18:30:03 +1100 Subject: [PATCH] Fix
 not wrapping

---
 routes/css.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/routes/css.cpp b/routes/css.cpp
index 4e5ffee..9935314 100644
--- a/routes/css.cpp
+++ b/routes/css.cpp
@@ -45,6 +45,10 @@ html {
     padding: 10px;
     overflow-wrap: break-word;
 }
+pre {
+    /* https://stackoverflow.com/a/248013 */
+    white-space: pre-wrap;
+}
 
 img {
     object-fit: cover;