popup fix scrollbar style, align toastr

This commit is contained in:
Wolfsblvt
2024-05-30 21:03:52 +02:00
parent 6c3118549f
commit 1c6671df31
3 changed files with 38 additions and 9 deletions

View File

@@ -49,6 +49,7 @@ export class Popup {
/** @type {string} */ id;
/** @type {HTMLDialogElement} */ dlg;
/** @type {HTMLElement} */ content;
/** @type {HTMLElement} */ text;
/** @type {HTMLTextAreaElement} */ input;
/** @type {HTMLElement} */ controls;
@@ -84,6 +85,7 @@ export class Popup {
const template = document.querySelector('#shadow_popup_template');
// @ts-ignore
this.dlg = template.content.cloneNode(true).querySelector('.dialogue_popup');
this.content = this.dlg.querySelector('.popup_content');
this.text = this.dlg.querySelector('.dialogue_popup_text');
this.input = this.dlg.querySelector('.dialogue_popup_input');
this.controls = this.dlg.querySelector('.dialogue_popup_controls');