From 59569984e2a4887504a6c579ac02e5b0c47b3e4b Mon Sep 17 00:00:00 2001 From: Jade Date: Wed, 8 Sep 2021 00:43:52 -0700 Subject: [PATCH] Address review: use overflow-wrap everywhere --- src/theme/css/general.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/theme/css/general.css b/src/theme/css/general.css index ba899143..5096bad1 100644 --- a/src/theme/css/general.css +++ b/src/theme/css/general.css @@ -26,9 +26,9 @@ code { font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */ } -/* make long inline code not x overflow */ -:not(pre) > code { - word-break: break-word; +/* make long words/inline code not x overflow */ +main { + overflow-wrap: anywhere; } /* make wide tables scroll if they overflow */