Skip to content

Commit ea24c9e

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 4fff0e7 commit ea24c9e

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
@@ -1549,8 +1549,7 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
15491549
}
15501550

15511551
/* various */
1552-
&#grid-header,
1553-
&#new-user {
1552+
&#grid-header {
15541553
@include position('sticky');
15551554
align-self: normal;
15561555
background-color: var(--color-main-background);
@@ -1562,18 +1561,8 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
15621561
}
15631562
}
15641563

1565-
// separate prop to set initial value to top: 50px
1566-
&#new-user {
1567-
height: 120px;
1568-
1569-
.row {
1570-
padding-top: 50px;
1571-
}
1572-
}
1573-
15741564
&#grid-header {
15751565
color: var(--color-text-maxcontrast);
1576-
z-index: 60; /* above new-user */
15771566
border-bottom-width: thin;
15781567

15791568
#headerDisplayName,

0 commit comments

Comments
 (0)