diff options
author | Giteabot <teabot@gitea.io> | 2023-08-08 10:14:25 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 10:14:25 +0800 |
commit | f329982b6ea1d2f0256a58d77415852b9cfc631c (patch) | |
tree | df40d439a89048bce6def0b54f3b0c09fd0d7fc3 /web_src | |
parent | cb1a4da5c271d9639a8305b8f7d03dd54e835f4e (diff) | |
download | gitea-f329982b6ea1d2f0256a58d77415852b9cfc631c.tar.gz gitea-f329982b6ea1d2f0256a58d77415852b9cfc631c.zip |
Fix text truncate (#26354) (#26384)
Backport #26354 by @Maks1mS
Fixes: https://github.com/go-gitea/gitea/issues/25597
Before:
![image](https://github.com/go-gitea/gitea/assets/36362599/c8c27bcb-469f-4def-8521-d9e054c16ecb)
After:
![image](https://github.com/go-gitea/gitea/assets/36362599/2405b6e8-fc5c-4b13-b66b-007bc11edbc4)
Co-authored-by: Maxim Slipenko <no-reply@maxim.slipenko.com>
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/base.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 40f094fd24..70baa9c9f7 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -1301,7 +1301,7 @@ img.ui.avatar, } .ui .text.truncate { - overflow: hidden; + overflow-x: clip; text-overflow: ellipsis; white-space: nowrap; display: inline-block; |