summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2021-12-02 08:01:20 +0100
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2021-12-07 18:02:19 +0100
commitb7cbba0a47a6c72ef981cc3fd276a6af4ce99f74 (patch)
tree9f4ff58ee4f7343e8813456256a399e6c88a3a14 /apps
parent45e66458ff73753353dfe7f0b828f17cda050a5f (diff)
downloadnextcloud-server-b7cbba0a47a6c72ef981cc3fd276a6af4ce99f74.tar.gz
nextcloud-server-b7cbba0a47a6c72ef981cc3fd276a6af4ce99f74.zip
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')
-rw-r--r--apps/settings/css/settings.scss13
1 files changed, 1 insertions, 12 deletions
diff --git a/apps/settings/css/settings.scss b/apps/settings/css/settings.scss
index 6b79040ce9e..e186c285e64 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,