summaryrefslogtreecommitdiffstats
path: root/core/css
diff options
context:
space:
mode:
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>2018-08-28 13:08:09 +0200
committerGitHub <noreply@github.com>2018-08-28 13:08:09 +0200
commita3d61b49b856e9751cffba92157e0040423a0ea1 (patch)
tree9beeb9136d4b5875ae227dbfca2b5f4d7b0a1b77 /core/css
parenta14fddc2d529a24246532ea7f58d9d6913c55827 (diff)
parenta958ddf01a032b56ae9f20ed7daa76fff07bfedd (diff)
downloadnextcloud-server-a3d61b49b856e9751cffba92157e0040423a0ea1.tar.gz
nextcloud-server-a3d61b49b856e9751cffba92157e0040423a0ea1.zip
Merge pull request #10881 from nextcloud/fix/10705/notification-width
Makes the notifications area width equal to the contents
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;