fix(v2): scrollbar via .regles-optionnelles.applicationv2 > .window-content
Le id de DEFAULT_OPTIONS est l'id d'application ui.windows,
PAS l'id DOM (#application-N). Les classes ({classes}) sont
appliquées sur .window-app. CSS ciblé via la classe fonctionne.
This commit is contained in:
@@ -51,16 +51,4 @@ export class DialogEncaissementTables extends HandlebarsApplicationMixin(Applica
|
||||
nonmortel: TABLE_NONMORTEL_DISPLAY,
|
||||
}
|
||||
}
|
||||
|
||||
async _onRender(context, options) {
|
||||
this.element.style.flex = "1"
|
||||
this.element.style.display = "flex"
|
||||
this.element.style.flexDirection = "column"
|
||||
this.element.style.overflow = "hidden"
|
||||
const content = this.element.firstElementChild
|
||||
if (content) {
|
||||
content.style.overflowY = "auto"
|
||||
content.style.flex = "1"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -118,15 +118,6 @@ export class ReglesOptionnelles extends HandlebarsApplicationMixin(ApplicationV2
|
||||
}
|
||||
|
||||
async _onRender(context, options) {
|
||||
this.element.style.flex = "1"
|
||||
this.element.style.display = "flex"
|
||||
this.element.style.flexDirection = "column"
|
||||
this.element.style.overflow = "hidden"
|
||||
const content = this.element.firstElementChild
|
||||
if (content) {
|
||||
content.style.overflowY = "auto"
|
||||
content.style.flex = "1"
|
||||
}
|
||||
this.element.querySelectorAll(".select-option").forEach(el => {
|
||||
el.addEventListener("click", async event => {
|
||||
const id = event.currentTarget.getAttribute("name");
|
||||
|
||||
Reference in New Issue
Block a user