Move toasts to top center

This commit is contained in:
Cohee 2023-09-02 18:32:15 +03:00
parent 242600a5a3
commit 2d933f835c
2 changed files with 5 additions and 0 deletions

View File

@ -4536,6 +4536,7 @@
toastr.options.extendedTimeOut = 10000; // How long the toast will display after a user hovers over it
toastr.options.progressBar = true; // Visually indicate how long before a toast expires.
toastr.options.closeButton = true; // enable a close button
toastr.options.positionClass = "toast-top-center"; // Where to position the toast container
</script>
<script>

View File

@ -2066,6 +2066,10 @@ grammarly-extension {
}
/* Override toastr default styles */
body #toast-container {
top: var(--topBarBlockSize);
}
body #toast-container>div {
opacity: 0.95;
}