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 029aa8e9c0
commit b9d273bdac
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

View file

@ -1443,7 +1443,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);
}
@ -1456,9 +1456,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);