]> source.dussan.org Git - gitea.git/commitdiff
Remove unneccessary uses of `word-break: break-all` (#31637) (#31652)
authorGiteabot <teabot@gitea.io>
Thu, 18 Jul 2024 10:58:11 +0000 (18:58 +0800)
committerGitHub <noreply@github.com>
Thu, 18 Jul 2024 10:58:11 +0000 (12:58 +0200)
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 <me@silverwind.io>
web_src/css/org.css
web_src/css/repo.css

index 32e8a914faf234250629d103feeed506d3880227..1e79c7ffca670be31203ea49982565ba38f616f4 100644 (file)
@@ -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 {
index 05690ba873e0d3866900a7b4719f33348b6322c3..741f36c7abb8beb5605ae545b441c03505613042 100644 (file)
@@ -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 {