Fixed resource dice positioning

This commit is contained in:
WBHarry 2025-07-13 13:18:49 +02:00
parent 58f96a36c9
commit 9fc1005caa
7 changed files with 80 additions and 76 deletions

View file

@ -1,13 +1,10 @@
<div>
<div class="item-resources">
{{#each resource.diceStates as | state key |}}
<div class="item-resource">
<label>{{ifThen state.value state.value '?'}}</label>
<img src="{{concat "systems/daggerheart/assets/icons/dice/hope/d" ../resource.dieFaces ".svg"}}" />
</div>
{{/each}}
<div class="reroll-confirmation">
<div>{{localize 'DAGGERHEART.APPLICATIONS.ResourceDice.rerollRecoveryInfo' name=name recovery=recovery }}</div>
<div>{{localize 'DAGGERHEART.APPLICATIONS.ResourceDice.rerollConfirmation' name=name }}</div>
</div>
<footer>
<button data-action="close">{{localize 'No'}}</button>
<button data-action="rerollDice">{{localize "DAGGERHEART.APPLICATIONS.ResourceDice.rerollDice"}}</button>
</footer>
</div>