summaryrefslogtreecommitdiffstats
path: root/web_src
diff options
context:
space:
mode:
authorGiteabot <teabot@gitea.io>2023-12-24 22:44:03 +0800
committerGitHub <noreply@github.com>2023-12-24 22:44:03 +0800
commit5b104a55331a5774140a7d35ab363a59a8aec9c8 (patch)
tree34f4eb7b8e2e494d5203cb1e3ddd8e1b7f528823 /web_src
parentf2add36a29580f5139e3ac5e1fc67ebf2da3cacd (diff)
downloadgitea-5b104a55331a5774140a7d35ab363a59a8aec9c8.tar.gz
gitea-5b104a55331a5774140a7d35ab363a59a8aec9c8.zip
Fix flex container width (#28603) (#28605)
Backport #28603 by wxiaoguang Fix #28489 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Diffstat (limited to 'web_src')
-rw-r--r--web_src/css/modules/flexcontainer.css1
1 files changed, 1 insertions, 0 deletions
diff --git a/web_src/css/modules/flexcontainer.css b/web_src/css/modules/flexcontainer.css
index 1721f14b2c..0b559f1e7d 100644
--- a/web_src/css/modules/flexcontainer.css
+++ b/web_src/css/modules/flexcontainer.css
@@ -11,6 +11,7 @@
.flex-container-main {
flex: 1;
+ min-width: 0; /* make the "text truncate" work, otherwise the flex axis is not limited and the text just overflows */
}
@media (max-width: 767.98px) {