From b45fbe1dcc296252b5c9927e401acd7670800572 Mon Sep 17 00:00:00 2001 From: 0ko <0ko@noreply.codeberg.org> Date: Sat, 11 May 2024 18:15:29 +0500 Subject: [PATCH] Add class tw-break-anywhere very partial port of https://github.com/go-gitea/gitea/commit/99463532820d7a88cdea88e66e0606b996cc9fc7#diff-38f10be6b48c74bcacbf9f6e15cc8582a45b7a6cbd1cdd8efec8e592575290c5 to fix a few picked areas where lack of it causes bugs. --- web_src/css/helpers.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web_src/css/helpers.css b/web_src/css/helpers.css index 118c058b1..cf2e73572 100644 --- a/web_src/css/helpers.css +++ b/web_src/css/helpers.css @@ -52,6 +52,9 @@ only use: */ .tw-hidden.tw-hidden { display: none !important; } +/* proposed class from https://github.com/tailwindlabs/tailwindcss/pull/12128 */ +.tw-break-anywhere { overflow-wrap: anywhere !important; } + @media (max-width: 767.98px) { /* double selector so it wins over .tw-flex (old .gt-df) etc */ .not-mobile.not-mobile {