fix edge cases, put toastr on a diet

f145dfcb2da4152056ba7ad225f350baf66461bf

RossAscends <124905043+RossAscends@users.noreply.github.com>

3 files changed, +4 -2Ignore whitespace
public/scripts/popup.js+1 -1
@@ -745,7 +745,7 @@ export function fixToastrForDialogs() {
745745 toastContainer.remove();
746746 } else {
747747 document.body.appendChild(toastContainer);
748748 toastContainer.classList.add('toast-top-center'toastr.options.positionClass);
749749 }
750750 }
751751}
public/scripts/world-info.js+1 -1
@@ -4986,7 +4986,7 @@ export function checkEmbeddedWorld(chid) {
49864986 toastr.info(
49874987 'To import and use it, select "Import Card Lore" in the "More..." dropdown menu on the character panel.',
49884988 `${characters[chid].name} has an embedded World/Lorebook`,
49894989 { timeOut: 5000, extendedTimeOut: 10000, positionClass: 'toast-top-center' },
49904990 );
49914991 }
49924992 }
public/style.css+2 -0
@@ -3940,6 +3940,8 @@ body #toast-container>div {
39403940 opacity: 1;
39413941 filter: unset;
39423942 -ms-filter: unset;
3943+ padding: 5px 5px 10px 50px;
3944+ font-size: calc(var(--mainFontSize) * 0.9);
39433945}
39443946
39453947#dialogue_del_mes {