]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove no longer needed CSS rules 30144/head
authorDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 2 Dec 2021 07:01:20 +0000 (08:01 +0100)
committerDaniel Calviño Sánchez <danxuliu@gmail.com>
Thu, 9 Dec 2021 05:58:07 +0000 (06:58 +0100)
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>
apps/settings/css/settings.scss

index 6b79040ce9e1189cbd8a32402ab8a8f2e2cf8641..e186c285e6436710b77b5c3e19ddee8db687febc 100644 (file)
@@ -1555,8 +1555,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);
@@ -1568,18 +1567,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,