summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorMichael Weimann <mail@michael-weimann.eu>2018-08-27 15:24:51 +0200
committerMichael Weimann <mail@michael-weimann.eu>2018-08-27 15:29:08 +0200
commita958ddf01a032b56ae9f20ed7daa76fff07bfedd (patch)
tree044141eb01cbee08d818893b48ccb2e26494ee3d /core/css
parent148e9cacb0d046d41896d3d5dab0b1a90bd1421b (diff)
downloadnextcloud-server-a958ddf01a032b56ae9f20ed7daa76fff07bfedd.tar.gz
nextcloud-server-a958ddf01a032b56ae9f20ed7daa76fff07bfedd.zip
Makes the notifications area width equal to the contents
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
Diffstat (limited to 'core/css')
-rw-r--r--core/css/mobile.scss5
-rw-r--r--core/css/styles.scss5
2 files changed, 8 insertions, 2 deletions
diff --git a/core/css/mobile.scss b/core/css/mobile.scss
index 8fff98af4d6..6f061abc75c 100644
--- a/core/css/mobile.scss
+++ b/core/css/mobile.scss
@@ -166,4 +166,9 @@
right: 27px;
}
}
+
+ #notification-container {
+ max-width: 100%;
+ width: 100%;
+ }
}
diff --git a/core/css/styles.scss b/core/css/styles.scss
index 6a72df0e177..2d6df4c3932 100644
--- a/core/css/styles.scss
+++ b/core/css/styles.scss
@@ -399,16 +399,17 @@ td.avatar {
}
#notification-container {
+ left: 50%;
+ max-width: 60%;
position: fixed;
top: 0;
- width: 100%;
text-align: center;
+ transform: translateX(-50%);
z-index: 8000;
}
#notification {
margin: 0 auto;
- max-width: 60%;
z-index: 8000;
background-color: var(--color-main-background);
border: 0;