From 6e79a34f59ab355389c893c1f6563be78c289942 Mon Sep 17 00:00:00 2001 From: Mikko Ahlroth Date: Fri, 26 Apr 2024 21:11:10 +0300 Subject: [PATCH] Fix code blocks widening the mobile layout when there are unwrappable lines --- priv/assets/css/custom.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/priv/assets/css/custom.css b/priv/assets/css/custom.css index 059d5ba..06b2452 100644 --- a/priv/assets/css/custom.css +++ b/priv/assets/css/custom.css @@ -158,6 +158,8 @@ body > footer { /* Fix code blocks making the page wide */ pre { white-space: pre-wrap; + word-break: normal; + overflow-wrap: anywhere; tab-size: 4; }