Fixed broken attack-roll damage button

This commit is contained in:
WBHarry 2025-05-27 13:53:57 +02:00
parent d81c28ed09
commit e135c4134e
3 changed files with 18 additions and 2 deletions

View file

@ -497,6 +497,15 @@
margin-top: 5px; margin-top: 5px;
} }
} }
.dice-actions {
margin-top: 5px;
display: flex;
button {
flex: 1;
}
}
} }
&.domain-card { &.domain-card {

View file

@ -1728,6 +1728,13 @@
.daggerheart.chat.roll .dice-result .damage-button { .daggerheart.chat.roll .dice-result .damage-button {
margin-top: 5px; margin-top: 5px;
} }
.daggerheart.chat.roll .dice-actions {
margin-top: 5px;
display: flex;
}
.daggerheart.chat.roll .dice-actions button {
flex: 1;
}
.daggerheart.chat.domain-card { .daggerheart.chat.domain-card {
display: flex; display: flex;
flex-direction: column; flex-direction: column;

View file

@ -163,8 +163,8 @@
{{/each}} {{/each}}
</div> </div>
{{/if}} {{/if}}
<div class="flexrow"> <div class="dice-actions">
<button class="roll-damage-button" data-value="{{this.total}}" data-damage="{{this.damage.value}}" data-damage-type="{{this.damage.type}}" {{#if this.damage.disabled}}disabled{{/if}}><span>Roll Damage</span></button> <button class="duality-action" data-value="{{this.total}}" data-damage="{{this.damage.value}}" data-damage-type="{{this.damage.type}}" {{#if this.damage.disabled}}disabled{{/if}}><span>Roll Damage</span></button>
</div> </div>
</div> </div>
</div> </div>