diff options
author | vnkmpf <t.z@mail.com> | 2021-02-09 20:51:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-09 19:51:01 +0000 |
commit | 3a4801d1958ce33c9b893433c096281aa5b9b1c5 (patch) | |
tree | be43c76ff7a7f52368fcb0dc46b8c1773a127c07 /web_src/less/_base.less | |
parent | b337c606d3669b3e2f9b805d6c74b593d6271414 (diff) | |
download | gitea-3a4801d1958ce33c9b893433c096281aa5b9b1c5.tar.gz gitea-3a4801d1958ce33c9b893433c096281aa5b9b1c5.zip |
Truncated organisations name #14583 (#14615)
- truncate to max length 40
- add CSS ellipsis
Diffstat (limited to 'web_src/less/_base.less')
-rw-r--r-- | web_src/less/_base.less | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/web_src/less/_base.less b/web_src/less/_base.less index 6b16143bb1..b5c890fd61 100644 --- a/web_src/less/_base.less +++ b/web_src/less/_base.less @@ -347,6 +347,9 @@ a.muted:hover, .ui.selection.dropdown .menu > .item { border-color: var(--color-secondary); + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } .ui.selection.visible.dropdown > .text:not(.default) { @@ -387,6 +390,10 @@ a.muted:hover, .ui.menu .ui.dropdown .menu > .item { color: var(--color-text) !important; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + display: block; } .ui.menu .ui.dropdown .menu > .item:hover { |