From 0bac32a410a83b5edca65c7cfad63b2e98a7f01a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Tue, 27 Feb 2018 21:24:59 +0100 Subject: [PATCH] Sticky header in users list MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- settings/css/settings.scss | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/settings/css/settings.scss b/settings/css/settings.scss index 8a64c4ca6e..f4ed81b37d 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -538,7 +538,7 @@ span.usersLastLoginTooltip { color: #000; } tr { - height: 51px; + height: 50px; } .mailAddress .loading-small { width: 16px; @@ -550,6 +550,13 @@ span.usersLastLoginTooltip { .groupsListContainer.hidden { display: none; } + thead th { + z-index: 100; + background-color: $color-main-background; + position: sticky; + // positional attribute is required for position to take affect. + top: 0; + } } #newuser {