Makes the notifications area width equal to the contents
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
This commit is contained in:
parent
148e9cacb0
commit
a958ddf01a
|
@ -166,4 +166,9 @@
|
||||||
right: 27px;
|
right: 27px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#notification-container {
|
||||||
|
max-width: 100%;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -399,16 +399,17 @@ td.avatar {
|
||||||
}
|
}
|
||||||
|
|
||||||
#notification-container {
|
#notification-container {
|
||||||
|
left: 50%;
|
||||||
|
max-width: 60%;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
width: 100%;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
transform: translateX(-50%);
|
||||||
z-index: 8000;
|
z-index: 8000;
|
||||||
}
|
}
|
||||||
|
|
||||||
#notification {
|
#notification {
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 60%;
|
|
||||||
z-index: 8000;
|
z-index: 8000;
|
||||||
background-color: var(--color-main-background);
|
background-color: var(--color-main-background);
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
Loading…
Reference in New Issue