Fixed layout for generic effects

This commit is contained in:
WBHarry 2025-11-25 23:53:07 +01:00
parent 5b6c13989a
commit 5b671a931e

View file

@ -55,13 +55,13 @@
</div> </div>
{{/each}} {{/each}}
{{#if genericStatusEffects}} {{#if genericStatusEffects}}
<div class="effect-control-container">>
<label class="palette-category-title">{{localize "DAGGERHEART.APPLICATIONS.HUD.tokenHUD.genericEffects"}}</label> <label class="palette-category-title">{{localize "DAGGERHEART.APPLICATIONS.HUD.tokenHUD.genericEffects"}}</label>
{{#each genericStatusEffects as |status|}} {{#each genericStatusEffects as |status|}}
<img class="effect-control {{status.cssClass}}" src="{{status.src}}" data-action="effect" data-status-id="{{status.id}}" {{#if status.title}}data-tooltip-text="{{status.title}}"{{/if}}> <div class="effect-control-container" {{#if status.title}}data-tooltip-text="{{status.title}}"{{/if}}>
{{/each}} <img class="effect-control {{status.cssClass}} {{#if (or status.disabled status.locked)}}disabled{{/if}}" src="{{status.src}}" data-action="effect" data-status-id="{{status.id}}" >
{{#if status.locked}}<i class="effect-locked fa-solid fa-lock"></i>{{/if}} {{#if status.locked}}<i class="effect-locked fa-solid fa-lock"></i>{{/if}}
</div> </div>
{{/each}}
{{/if}} {{/if}}
</div> </div>
{{/if}} {{/if}}