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

@ -773,7 +773,7 @@ export class RdDTMRDialog extends Dialog {
const dialog = await RdDRoll.create(this.actor, rollData,
{
html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-maitrise-tmr.html',
options: { height: 420 },
options: { height: 'fit-content' },
close: html => { this.maximize(); } // Re-display TMR
},
{