From ae1f0ac334e3e978183cf75feaa8bfc2f12df4c5 Mon Sep 17 00:00:00 2001 From: Yonle Date: Sun, 23 Jul 2023 20:31:39 +0700 Subject: [PATCH] default css: handle overflow text Signed-off-by: Yonle --- doc/style.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/style.css b/doc/style.css index ffb14cd..822860e 100644 --- a/doc/style.css +++ b/doc/style.css @@ -1,4 +1,5 @@ -body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em } +body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em; word-wrap: break-word; } +pre { overflow-x: scroll; } .snac-embedded-video, img { max-width: 100% } .snac-origin { font-size: 85% } .snac-score { float: right; font-size: 85% }