Fix toastr alignment in popups
This commit is contained in:
parent
514ac27d00
commit
f092269c01
|
@ -81,12 +81,15 @@ dialog {
|
||||||
animation: fade-out var(--animation-duration-slow) ease-in-out;
|
animation: fade-out var(--animation-duration-slow) ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix toastr in dialogs by actually placing it at the top of the screen via transform */
|
|
||||||
.popup #toast-container {
|
.popup #toast-container {
|
||||||
|
/* Fix toastr in dialogs by actually placing it at the top of the screen via transform */
|
||||||
height: 100svh;
|
height: 100svh;
|
||||||
top: calc(50% + var(--topBarBlockSize));
|
top: calc(50% + var(--topBarBlockSize));
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translate(-50%, -50%);
|
transform: translate(-50%, -50%);
|
||||||
|
|
||||||
|
/* Fix text align, popups are centered by default. toasts should not. */
|
||||||
|
text-align: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.popup-input {
|
.popup-input {
|
||||||
|
|
Loading…
Reference in New Issue