Hauteur des fenêtre 'fit-content'

Evite d'avoir tout le temps des tailles mal ajustées
This commit is contained in:
Vincent Vandemeulebrouck
2022-11-16 02:46:26 +01:00
parent 64320fc260
commit 1e5a99e009
14 changed files with 18 additions and 20 deletions

View File

@ -29,7 +29,7 @@ export class RdDRoll extends Dialog {
const html = await renderTemplate(dialogConfig.html, rollData);
let options = { classes: ["rdddialog"], width: 600, height: 500, 'z-index': 99999 };
let options = { classes: ["rdddialog"], width: 600, height: 'fit-content', 'z-index': 99999 };
if (dialogConfig.options) {
mergeObject(options, dialogConfig.options, { overwrite: true })
}