Fix sticky header on users list

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2018-10-03 12:10:18 +02:00
parent 8ede3f6346
commit 67cbfa74ab
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
1 changed files with 3 additions and 3 deletions

View File

@ -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);