Added an 'empty' styling for tabs. Used for NPC sheet Features tab when it has no features

This commit is contained in:
WBHarry 2026-05-30 20:28:32 +02:00
parent f24d37e935
commit 2f0badf53a
4 changed files with 18 additions and 10 deletions

View file

@ -4,7 +4,7 @@
<line-div></line-div>
<nav class='feature-tab sheet-tabs tabs' data-group='primary'>
{{#each tabs as |tab|}}
<a class='{{tab.id}} {{tab.cssClass}}' data-action='tab' data-group='{{tab.group}}' data-tab='{{tab.id}}'>
<a class='{{tab.id}} {{tab.cssClass}} {{#if tab.empty}}empty{{/if}}' data-action='tab' data-group='{{tab.group}}' data-tab='{{tab.id}}'>
<span>{{localize tab.label}}</span>
</a>
{{/each}}