diff options
author | Michael Weimann <mail@michael-weimann.eu> | 2018-08-27 15:24:51 +0200 |
---|---|---|
committer | Michael Weimann <mail@michael-weimann.eu> | 2018-08-27 15:29:08 +0200 |
commit | a958ddf01a032b56ae9f20ed7daa76fff07bfedd (patch) | |
tree | 044141eb01cbee08d818893b48ccb2e26494ee3d /core/css/styles.scss | |
parent | 148e9cacb0d046d41896d3d5dab0b1a90bd1421b (diff) | |
download | nextcloud-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/styles.scss')
-rw-r--r-- | core/css/styles.scss | 5 |
1 files changed, 3 insertions, 2 deletions
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; |