Makes the notifications area width equal to the contents

Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
Michael Weimann 2018-08-27 15:24:51 +02:00
parent 148e9cacb0
commit a958ddf01a
No known key found for this signature in database
GPG Key ID: 34F0524D4DA694A1
2 changed files with 8 additions and 2 deletions

View File

@ -166,4 +166,9 @@
right: 27px;
}
}
#notification-container {
max-width: 100%;
width: 100%;
}
}

View File

@ -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;