From c2b1b94c5a28deab2c65cae3e84124a14f6cbb20 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Thu, 18 Jul 2024 18:58:11 +0800 Subject: [PATCH] Remove unneccessary uses of `word-break: break-all` (#31637) (#31652) Backport #31637 by @silverwind 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: silverwind --- 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 32e8a914faf..1e79c7ffca6 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 05690ba873e..741f36c7abb 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -2479,7 +2479,7 @@ tbody.commit-list { .sidebar-item-link { display: inline-flex; align-items: center; - word-break: break-all; + overflow-wrap: anywhere; } .diff-file-header {