diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-11-17 21:39:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-17 21:39:20 +0100 |
commit | 6c07b9e1479b76d4ef33d0b4d73fcab520ee359a (patch) | |
tree | 9d395c94def37af9c17d3292f7e13e26fbc0c35a | |
parent | 02bfd915534d5dfaee3c5c873b84cc14657bed15 (diff) | |
parent | 978c02e7a848d066e26a05861505d763de15a867 (diff) | |
download | nextcloud-server-6c07b9e1479b76d4ef33d0b4d73fcab520ee359a.tar.gz nextcloud-server-6c07b9e1479b76d4ef33d0b4d73fcab520ee359a.zip |
Merge pull request #2187 from nextcloud/select2-adjustments
Select2 adjustments: ellipsize, and adjust height
-rw-r--r-- | core/css/inputs.css | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/core/css/inputs.css b/core/css/inputs.css index 37fedb9a44e..4497c00139f 100644 --- a/core/css/inputs.css +++ b/core/css/inputs.css @@ -254,12 +254,18 @@ select:hover { position: relative !important; } .select2-results { - max-height: 220px !important; + max-height: 250px !important; margin: 0 !important; padding: 0 !important; } .select2-results .select2-result-label { padding: 12px !important; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.select2-results .select2-result-label span { + cursor: pointer; } .select2-choices { @@ -326,6 +332,12 @@ select:hover { margin-right: 8px; vertical-align: middle; } +#select2-drop .avatar img, +.select2-chosen .avatar img, +#select2-drop .avatar, +.select2-chosen .avatar { + cursor: pointer; +} .select2-results .select2-no-results, .select2-results .select2-searching, |