summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;