fixed sweet alerts blocking major ui elements (#1517)
This commit is contained in:
@@ -44,7 +44,7 @@ export default class KimaiAlert extends KimaiPlugin {
|
|||||||
timer: 2000,
|
timer: 2000,
|
||||||
timerProgressBar: true,
|
timerProgressBar: true,
|
||||||
toast: true,
|
toast: true,
|
||||||
position: 'top-end',
|
position: 'top',
|
||||||
showConfirmButton: false,
|
showConfirmButton: false,
|
||||||
icon: 'success',
|
icon: 'success',
|
||||||
title: message,
|
title: message,
|
||||||
|
|||||||
@@ -1,3 +1,15 @@
|
|||||||
.swal2-popup {
|
.swal2-popup {
|
||||||
font-size: unset;
|
font-size: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.swal2-container {
|
||||||
|
// never block the top two bars double-bars display (smaller displays)
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
top: 110px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
// never block the top bar on single-bar display (larger devices)
|
||||||
|
@media only screen and (min-width: 768px) {
|
||||||
|
top: 60px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user