From: Yarden Shoham Date: Mon, 27 Feb 2023 21:30:06 +0000 (+0200) Subject: Add word-break to sidebar-item-link (#23146) (#23179) X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=35a3b452d9c97ca9147a71be658374df047a8ca6;p=gitea.git Add word-break to sidebar-item-link (#23146) (#23179) Backport #23146 Fixes https://github.com/go-gitea/gitea/issues/22953 ![image](https://user-images.githubusercontent.com/18380374/221351117-1e4b8922-04ca-4717-8e3b-c338a61bc062.png) Co-authored-by: yp05327 <576951401@qq.com> Co-authored-by: delvh --- diff --git a/web_src/less/_repository.less b/web_src/less/_repository.less index 7a1be4f191..570b1c9134 100644 --- a/web_src/less/_repository.less +++ b/web_src/less/_repository.less @@ -3210,8 +3210,8 @@ td.blob-excerpt { } .sidebar-item-link { - display: inline-flex; align-items: center; + word-break: break-all; } .diff-file-box[data-folded="true"] .diff-file-body {