Hauteur des fenêtre 'fit-content'
Evite d'avoir tout le temps des tailles mal ajustées
This commit is contained in:
@ -2349,7 +2349,7 @@ export class RdDActor extends Actor {
|
||||
const dialog = await RdDRoll.create(this, rollData,
|
||||
{
|
||||
html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-sort.html',
|
||||
options: { height: 600 },
|
||||
options: { height: 'fit-content' },
|
||||
close: html => { this.currentTMR.maximize() } // Re-display TMR
|
||||
},
|
||||
{
|
||||
@ -2674,7 +2674,7 @@ export class RdDActor extends Actor {
|
||||
const dialog = await RdDRoll.create(this, artData,
|
||||
{
|
||||
html: `systems/foundryvtt-reve-de-dragon/templates/dialog-roll-${oeuvre.type}.html`,
|
||||
options: { height: 500, }
|
||||
options: { height: 'fit-content', }
|
||||
},
|
||||
{
|
||||
name: `jet-${artData.art}`,
|
||||
@ -2814,7 +2814,7 @@ export class RdDActor extends Actor {
|
||||
const dialog = await RdDRoll.create(this, meditationData,
|
||||
{
|
||||
html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-meditation.html',
|
||||
options: { height: 575, }
|
||||
options: { height: 'fit-content', }
|
||||
},
|
||||
{
|
||||
name: 'jet-meditation',
|
||||
@ -2891,7 +2891,7 @@ export class RdDActor extends Actor {
|
||||
const dialog = await RdDRoll.create(this, rollData,
|
||||
{
|
||||
html: 'systems/foundryvtt-reve-de-dragon/templates/dialog-roll-signedraconique.html',
|
||||
options: { height: 600 },
|
||||
options: { height: 'fit-content' },
|
||||
close: html => { this.currentTMR.maximize() } // Re-display TMR
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user