From a7925ed62d3ffd9f661103a4fccfdd15c67d6ac9 Mon Sep 17 00:00:00 2001 From: Soheb Date: Fri, 1 Jan 2021 15:46:36 +0000 Subject: [PATCH] Fix posts overflowing on Safari on iOS In Safari, the value `anywhere` is not supported for property `overflow-wrap`. Once changed to `break-word`, it behaves like it does in Chrome and Firefox. --- static/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/style.css b/static/style.css index 4c6c8e4..3c69669 100644 --- a/static/style.css +++ b/static/style.css @@ -277,7 +277,7 @@ input[type="submit"]:hover { color: var(--accent); } .post_left, .post_right { display: flex; flex-direction: column; - overflow-wrap: anywhere; + overflow-wrap: break-word; } .post_left { @@ -579,4 +579,4 @@ td, th { #logo { margin: 5px auto; } #searchbox { width: 100%; } #github { display: none; } -} \ No newline at end of file +}