diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-12-02 10:01:20 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2021-12-09 09:16:46 +0300 |
commit | bf499c0bae7360c86cbada97519f682ca89d8a3f (patch) | |
tree | 948cd66c2a36f71403e5192feecb7852a1bbfb39 /apps/settings | |
parent | aa8b11ca57155b68f7330a5be50f034d7a23dcac (diff) |
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>
Diffstat (limited to 'apps/settings')
-rw-r--r-- | apps/settings/css/settings.scss | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/apps/settings/css/settings.scss b/apps/settings/css/settings.scss index 79258f77479..255afdf2165 100644 --- a/apps/settings/css/settings.scss +++ b/apps/settings/css/settings.scss @@ -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, |