diff --git a/public/scripts/popup.js b/public/scripts/popup.js index 3a1b03877..ef999670c 100644 --- a/public/scripts/popup.js +++ b/public/scripts/popup.js @@ -745,7 +745,7 @@ export function fixToastrForDialogs() { toastContainer.remove(); } else { document.body.appendChild(toastContainer); - toastContainer.classList.add('toast-top-center'); + toastContainer.classList.add(toastr.options.positionClass); } } } diff --git a/public/scripts/world-info.js b/public/scripts/world-info.js index b6b2f01fd..263b19478 100644 --- a/public/scripts/world-info.js +++ b/public/scripts/world-info.js @@ -4986,7 +4986,7 @@ export function checkEmbeddedWorld(chid) { toastr.info( 'To import and use it, select "Import Card Lore" in the "More..." dropdown menu on the character panel.', `${characters[chid].name} has an embedded World/Lorebook`, - { timeOut: 5000, extendedTimeOut: 10000, positionClass: 'toast-top-center' }, + { timeOut: 5000, extendedTimeOut: 10000 }, ); } } diff --git a/public/style.css b/public/style.css index cc3082ea5..735019cc4 100644 --- a/public/style.css +++ b/public/style.css @@ -3940,6 +3940,8 @@ body #toast-container>div { opacity: 1; filter: unset; -ms-filter: unset; + padding: 5px 5px 10px 50px; + font-size: calc(var(--mainFontSize) * 0.9); } #dialogue_del_mes {