summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-01-07 15:25:04 +0100
committerVincent Petry <pvince81@owncloud.com>2016-01-07 15:25:04 +0100
commit112ccd00a3ecb6e7c34857bef78f22eb40b0068d (patch)
tree676c5de89f1207eb191920fb2bca35055a2fb80f
parent601457d2217ec1ed18b49061e38d4cda3703c9f6 (diff)
downloadnextcloud-server-112ccd00a3ecb6e7c34857bef78f22eb40b0068d.tar.gz
nextcloud-server-112ccd00a3ecb6e7c34857bef78f22eb40b0068d.zip
Fix users list dropdown position after scroll
When scrolling, the position calculation of the multiselect dropdown was wrong. Adding "position: relative" to the list container makes the button calculation relative to it instead of the whole page. In this case the dropdown is properly aligned with the field regardless of scrolling.
-rw-r--r--settings/css/settings.css5
1 files changed, 5 insertions, 0 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css
index effabd928f9..8805919c96a 100644
--- a/settings/css/settings.css
+++ b/settings/css/settings.css
@@ -171,6 +171,11 @@ td.password>img,td.displayName>img, td.remove>a, td.quota>img { visibility:hidde
td.password, td.quota, td.displayName { width:12em; cursor:pointer; }
td.password>span, td.quota>span, rd.displayName>span { margin-right: 1.2em; color: #C7C7C7; }
span.usersLastLoginTooltip { white-space: nowrap; }
+
+/* dropdowns will be relative to this element */
+#userlist {
+ position: relative;
+}
#userlist .mailAddress,
#userlist .storageLocation,
#userlist .userBackend,