mirror of
https://github.com/nextcloud/server.git
synced 2026-02-23 18:05:02 -05:00
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>
This commit is contained in:
parent
aa8b11ca57
commit
bf499c0bae
1 changed files with 1 additions and 12 deletions
|
|
@ -1549,8 +1549,7 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
|
|||
}
|
||||
|
||||
/* various */
|
||||
&#grid-header,
|
||||
&#new-user {
|
||||
&#grid-header {
|
||||
@include position('sticky');
|
||||
align-self: normal;
|
||||
background-color: var(--color-main-background);
|
||||
|
|
@ -1562,18 +1561,8 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
|
|||
}
|
||||
}
|
||||
|
||||
// separate prop to set initial value to top: 50px
|
||||
&#new-user {
|
||||
height: 120px;
|
||||
|
||||
.row {
|
||||
padding-top: 50px;
|
||||
}
|
||||
}
|
||||
|
||||
&#grid-header {
|
||||
color: var(--color-text-maxcontrast);
|
||||
z-index: 60; /* above new-user */
|
||||
border-bottom-width: thin;
|
||||
|
||||
#headerDisplayName,
|
||||
|
|
|
|||
Loading…
Reference in a new issue