Merge pull request #11582 from nextcloud/stb14-users-table-header-fix

[stable14] Fix sticky header on users list
This commit is contained in:
Morris Jobke 2018-10-03 14:54:37 +02:00 committed by GitHub
commit 5b33cbd507
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1428,7 +1428,7 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
align-self: normal; align-self: normal;
background-color: var(--color-main-background); background-color: var(--color-main-background);
z-index: 55; /* above multiselect */ z-index: 55; /* above multiselect */
top: 0; top: $header-height;
&.sticky { &.sticky {
box-shadow: 0 -2px 10px 1px var(--color-box-shadow); box-shadow: 0 -2px 10px 1px var(--color-box-shadow);
} }
@ -1441,9 +1441,9 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
z-index: 0; z-index: 0;
} }
} }
// separate prop to set initial value to top:0 // separate prop to set initial value to top: 50px
&#new-user { &#new-user {
top: $grid-row-height; top: $header-height + $grid-row-height;
} }
&#grid-header { &#grid-header {
color: var(--color-text-maxcontrast); color: var(--color-text-maxcontrast);