From 8c828a2cdad98cec7d1fc379cb9ddd4d1255bd78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Thu, 2 Dec 2021 08:01:20 +0100 Subject: [PATCH] Remove no longer needed CSS rules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- apps/settings/css/settings.scss | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/apps/settings/css/settings.scss b/apps/settings/css/settings.scss index 6b79040ce9e11..e186c285e6436 100644 --- a/apps/settings/css/settings.scss +++ b/apps/settings/css/settings.scss @@ -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,