From 06b9726e02ba2abd40174ac7feb641b41b63bf7f Mon Sep 17 00:00:00 2001 From: Alexander Borsuk Date: Sun, 4 Dec 2022 01:55:37 +0100 Subject: [PATCH] [news] Fixed horizontal scrolling in Safari Signed-off-by: Alexander Borsuk --- sass/main.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sass/main.scss b/sass/main.scss index b38ddfb7..e7b24743 100644 --- a/sass/main.scss +++ b/sass/main.scss @@ -18,6 +18,11 @@ body { word-wrap: break-word; } +code, a { + // Prevents horizontal scrolling in Safari on narrow screen for long links and code lines. + word-wrap: anywhere; +} + // Top menu. header { text-align: center;