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 = {
tag: 'form',
classes: ['daggerheart', 'views', 'dh-style', 'dialog', 'downtime'],
position: { width: 600, height: 'auto' },
position: { width: 'auto', height: 'auto' },
actions: {
selectMove: this.selectMove,
takeDowntime: this.takeDowntime

View file

@ -11,6 +11,10 @@
font-family: @font-body;
.downtime-container {
.activities-grouping {
width: 280px;
}
.activities-container {
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>
<div class="activities-container">