From 67cbfa74ab3d22f1e2b6a4276871bf3b94a54e69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Wed, 3 Oct 2018 12:10:18 +0200 Subject: [PATCH] Fix sticky header on 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 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/settings/css/settings.scss b/settings/css/settings.scss index ae1a456b69..5be36c86d0 100644 --- a/settings/css/settings.scss +++ b/settings/css/settings.scss @@ -1428,7 +1428,7 @@ doesnotexist:-o-prefocus, .strengthify-wrapper { align-self: normal; background-color: var(--color-main-background); z-index: 55; /* above multiselect */ - top: 0; + top: $header-height; &.sticky { box-shadow: 0 -2px 10px 1px var(--color-box-shadow); } @@ -1441,9 +1441,9 @@ doesnotexist:-o-prefocus, .strengthify-wrapper { z-index: 0; } } - // separate prop to set initial value to top:0 + // separate prop to set initial value to top: 50px &#new-user { - top: $grid-row-height; + top: $header-height + $grid-row-height; } &#grid-header { color: var(--color-text-maxcontrast);