diff options
author | silverwind <me@silverwind.io> | 2024-04-18 21:31:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-18 19:31:53 +0000 |
commit | dd8e6ae270b4b5e91a152a145978029dacb938ff (patch) | |
tree | 8b9c25b4a735659d8e6751d5df9880e748946d83 /web_src | |
parent | 354705450a410329d253023d2c66ef6d68ecc046 (diff) | |
download | gitea-dd8e6ae270b4b5e91a152a145978029dacb938ff.tar.gz gitea-dd8e6ae270b4b5e91a152a145978029dacb938ff.zip |
Improve "Reference in new issue" modal (#30547)
Fixes: https://github.com/go-gitea/gitea/issues/29994
Also some misc enhancements done to the form in the modal.
<img width="840" alt="Screenshot 2024-04-17 at 23 02 55"
src="https://github.com/go-gitea/gitea/assets/115237/e71fba55-55cd-4e48-a497-6b1025c36a43">
Diffstat (limited to 'web_src')
-rw-r--r-- | web_src/css/base.css | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 7e781aa97b..831044756f 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -374,6 +374,7 @@ a.label, .ui.selection.dropdown .menu > .item { border-color: var(--color-secondary); + white-space: nowrap; } .ui.selection.visible.dropdown > .text:not(.default) { @@ -390,6 +391,12 @@ 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; |