From f37d8fc0ed5ce7973e83e37603466a99935fd619 Mon Sep 17 00:00:00 2001 From: silverwind Date: Wed, 17 Jul 2024 12:04:28 +0200 Subject: [PATCH] Remove unneccessary uses of `word-break: break-all` (#31637) Fixes: https://github.com/go-gitea/gitea/issues/31636 1. Issue sidebar topic is disussed in https://github.com/go-gitea/gitea/issues/31636 2. Org description already has `overflow-wrap: anywhere` to ensure no overflow. Co-authored-by: Giteabot (cherry picked from commit 0c1127a2fb4c07576b4a2e4cffbcd2b0c8670a27) --- web_src/css/org.css | 1 - web_src/css/repo.css | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/web_src/css/org.css b/web_src/css/org.css index e96b2bb83b..6853a26bf7 100644 --- a/web_src/css/org.css +++ b/web_src/css/org.css @@ -96,7 +96,6 @@ .page-content.organization #org-info { overflow-wrap: anywhere; flex: 1; - word-break: break-all; } .page-content.organization #org-info .ui.header { diff --git a/web_src/css/repo.css b/web_src/css/repo.css index 56525aca35..3b1735f27e 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -2635,7 +2635,7 @@ tbody.commit-list { .sidebar-item-link { display: inline-flex; align-items: center; - word-break: break-all; + overflow-wrap: anywhere; } .diff-file-header {