Improved dialog width

This commit is contained in:
WBHarry 2025-07-17 23:50:06 +02:00
parent 6a4bce8ffe
commit f90330cfac
3 changed files with 6 additions and 2 deletions

View file

@ -32,7 +32,7 @@ export default class DhpDowntime extends HandlebarsApplicationMixin(ApplicationV
static DEFAULT_OPTIONS = { static DEFAULT_OPTIONS = {
tag: 'form', tag: 'form',
classes: ['daggerheart', 'views', 'dh-style', 'dialog', 'downtime'], classes: ['daggerheart', 'views', 'dh-style', 'dialog', 'downtime'],
position: { width: 600, height: 'auto' }, position: { width: 'auto', height: 'auto' },
actions: { actions: {
selectMove: this.selectMove, selectMove: this.selectMove,
takeDowntime: this.takeDowntime takeDowntime: this.takeDowntime

View file

@ -11,6 +11,10 @@
font-family: @font-body; font-family: @font-body;
.downtime-container { .downtime-container {
.activities-grouping {
width: 280px;
}
.activities-container { .activities-container {
width: 100%; width: 100%;

View file

@ -1,4 +1,4 @@
<fieldset class="one-column"> <fieldset class="one-column activities-grouping">
<legend>{{localize (concat "DAGGERHEART.APPLICATIONS.Downtime." category ".moves") max=nrChoices.max current=nrChoices.current}}</legend> <legend>{{localize (concat "DAGGERHEART.APPLICATIONS.Downtime." category ".moves") max=nrChoices.max current=nrChoices.current}}</legend>
<div class="activities-container"> <div class="activities-container">