diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-04-22 07:14:33 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-21 23:14:33 +0000 |
commit | 1e4867730b261352d63098b85cf53ca05867c8c2 (patch) | |
tree | 88251a43d96dd6c546395d8f4c71a4897b68ec96 /web_src | |
parent | 6459c50278906893f3cbc2bf3e52eff65e739b37 (diff) | |
download | gitea-1e4867730b261352d63098b85cf53ca05867c8c2.tar.gz gitea-1e4867730b261352d63098b85cf53ca05867c8c2.zip |
Fix dropdown text ellipsis (#30628)
Follow
https://github.com/go-gitea/gitea/pull/30547#discussion_r1573866519
Fix #30624
The Fomantic UI Dropdown wasn't designed to work that way, its "text"
element might contain images. So the "overflow" shouldn't be added to
any general dropdown text.
![image](https://github.com/go-gitea/gitea/assets/2114189/f6ceaabd-bc89-4bf2-baa2-a6f0324c1962)
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/base.css | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 0dae25506a..ef403cd2ad 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -391,12 +391,6 @@ a.label, color: var(--color-text-light-2); } -.ui.dropdown > .text { - white-space: nowrap; - overflow: hidden; - text-overflow: ellipsis; -} - /* extend fomantic style '.ui.dropdown > .text > img' to include svg.img */ .ui.dropdown > .text > .img { margin-left: 0; |