mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-03 19:37:46 +01:00
Move toasts to top center
This commit is contained in:
parent
242600a5a3
commit
2d933f835c
@ -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>
|
||||
|
@ -2066,6 +2066,10 @@ grammarly-extension {
|
||||
}
|
||||
|
||||
/* Override toastr default styles */
|
||||
body #toast-container {
|
||||
top: var(--topBarBlockSize);
|
||||
}
|
||||
|
||||
body #toast-container>div {
|
||||
opacity: 0.95;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user