summaryrefslogtreecommitdiffstats
path: root/web_src/less/_form.less
diff options
context:
space:
mode:
authorvnkmpf <t.z@mail.com>2021-02-09 20:51:01 +0100
committerGitHub <noreply@github.com>2021-02-09 20:51:01 +0100
commit3a4801d1958ce33c9b893433c096281aa5b9b1c5 (patch)
treebe43c76ff7a7f52368fcb0dc46b8c1773a127c07 /web_src/less/_form.less
parentAdd support for ref parameter to get raw file API (#14602) (diff)
downloadforgejo-3a4801d1958ce33c9b893433c096281aa5b9b1c5.tar.xz
forgejo-3a4801d1958ce33c9b893433c096281aa5b9b1c5.zip
Truncated organisations name #14583 (#14615)
- truncate to max length 40 - add CSS ellipsis
Diffstat (limited to 'web_src/less/_form.less')
-rw-r--r--web_src/less/_form.less4
1 files changed, 4 insertions, 0 deletions
diff --git a/web_src/less/_form.less b/web_src/less/_form.less
index 76c1a06990..a4842edd01 100644
--- a/web_src/less/_form.less
+++ b/web_src/less/_form.less
@@ -278,6 +278,10 @@ textarea:focus,
form {
.dropdown .text {
margin-right: 0 !important;
+
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
.header {