summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-10-20 11:06:18 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-10-20 11:06:18 +0200
commit50cb8106dc013ee125af4b377614fd01d34efd8f (patch)
tree6b18061e9f4410599cf0d71fbd969bbcefd88f5b /apps
parent5d9a9e8f3db178858894eadd961cf67993627ab0 (diff)
parent3875ca2d1948afa0b5eed67379d638153f43be10 (diff)
downloadnextcloud-server-50cb8106dc013ee125af4b377614fd01d34efd8f.tar.gz
nextcloud-server-50cb8106dc013ee125af4b377614fd01d34efd8f.zip
Merge pull request #19859 from owncloud/fix-long-groupnames
ellipsize long group names in select2 dropdown, fix #16977
Diffstat (limited to 'apps')
-rw-r--r--apps/files_external/css/settings.css13
1 files changed, 12 insertions, 1 deletions
diff --git a/apps/files_external/css/settings.css b/apps/files_external/css/settings.css
index fb7789a537d..35c7a395c58 100644
--- a/apps/files_external/css/settings.css
+++ b/apps/files_external/css/settings.css
@@ -57,16 +57,27 @@ td.mountPoint, td.backend { width:160px; }
height: 32px;
padding: 3px;
}
+.select2-results .select2-result-label > span {
+ display: block;
+ position: relative;
+}
.select2-results .select2-result-label .avatardiv {
display:inline-block;
}
.select2-results .select2-result-label .avatardiv + span {
+ position: absolute;
+ top: 5px;
margin-left: 10px;
}
.select2-results .select2-result-label .avatardiv[data-type="group"] + span {
vertical-align: top;
top: 6px;
- position: relative;
+ position: absolute;
+ max-width: 80%;
+ left: 30px;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ overflow: hidden;
}
#externalStorage .mountOptionsToggle .dropdown {