From aae6ebd5cf5d1b57d99057fd4a1e275bd35f36e4 Mon Sep 17 00:00:00 2001 From: Wesley Moore Date: Mon, 6 May 2024 14:54:26 +1000 Subject: [PATCH] Force wrapping of inline code if needed Stops horizontal scroll on mobile for pre-formatted text like URLs. --- v2/sass/screen.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/v2/sass/screen.scss b/v2/sass/screen.scss index 7d1981d..f94224c 100644 --- a/v2/sass/screen.scss +++ b/v2/sass/screen.scss @@ -36,6 +36,7 @@ pre, code { padding: 0.1em 0.2em; font-size: 16px; border-radius: 3px; + overflow-wrap: anywhere; } pre { padding: 0.5em 1em;