refactor font-family styles to avoid unecessary diplicities (#983)

This commit is contained in:
Murilo Brito 2025-08-17 09:37:39 -03:00 committed by GitHub
parent 2820c96259
commit 96d26a1e5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
69 changed files with 220 additions and 246 deletions

View file

@ -6,7 +6,7 @@
<h2 class="title">{{item.name}}</h2>
<ul class="tags">
{{#each item.tags as |tag|}}
<li class="tag">{{tag}}</li>
<li class="tag"><span>{{tag}}</span></li>
{{/each}}
</ul>
</div>
@ -17,11 +17,11 @@
<footer class="ability-card-footer">
{{#each actions as |action|}}
<button class="ability-use-button" id="{{action.id}}">
{{action.name}}
<span>{{action.name}}</span>
</button>
{{#if (eq action.systemPath "attack")}}
<button class="ability-use-button" id="{{action.id}}" data-direct-damage="true">
{{localize "DAGGERHEART.GENERAL.damage"}}
<span>{{localize "DAGGERHEART.GENERAL.damage"}}</span>
</button>
{{/if}}
{{!-- {{#if action.cost.value}}<div class="ability-card-action-cost">{{action.cost.value}} {{action.cost.type}}</div>{{/if}} --}}

View file

@ -15,7 +15,9 @@
</div>
</details>
{{#each move.actions as | action index |}}
<button class="action-use-button" data-move-index="{{@../key}}" data-action-index="{{index}}">{{localize action.name}}</button>
<button class="action-use-button" data-move-index="{{@../key}}" data-action-index="{{index}}">
<span>{{localize action.name}}</span>
</button>
{{/each}}
{{/each}}
</ul>