Skip to content

Commit c161330

Browse files
danxuliubackportbot[bot]
authored andcommitted
Remove no longer needed CSS rules
Since Nextcloud 22 the "#new-user" rules had no effect, as the DOM structure changed to show a dialog rather than adding a row on top of the list when adding new users. Similarly, the z-index was no longer needed, as there will be no "new-user" row that could overlap. Moreover, the z-index was set even higher (100) in another rule still active. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
1 parent 2ebb2b7 commit c161330

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

apps/settings/css/settings.scss

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1555,8 +1555,7 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
15551555
}
15561556

15571557
/* various */
1558-
&#grid-header,
1559-
&#new-user {
1558+
&#grid-header {
15601559
@include position('sticky');
15611560
align-self: normal;
15621561
background-color: var(--color-main-background);
@@ -1568,18 +1567,8 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
15681567
}
15691568
}
15701569

1571-
// separate prop to set initial value to top: 50px
1572-
&#new-user {
1573-
height: 120px;
1574-
1575-
.row {
1576-
padding-top: 50px;
1577-
}
1578-
}
1579-
15801570
&#grid-header {
15811571
color: var(--color-text-maxcontrast);
1582-
z-index: 60; /* above new-user */
15831572
border-bottom-width: thin;
15841573

15851574
#headerDisplayName,

0 commit comments

Comments
 (0)