Merge pull request #39 from Eldritch-Oliver/GH-38

Add tooltips for the attribute names on the player sheet
This commit is contained in:
Oliver 2025-09-04 18:49:25 -06:00 committed by GitHub
commit f3a3a65be1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,6 +12,7 @@
name="{{attr.path}}.value"
value="{{attr.value}}"
aria-label="Current value"
data-tooltip="@{{ attr.id }}{{#if attr.isRange}}.value{{/if}}"
>
{{#if attr.isRange}}
<span aria-hidden="true">/</span>
@ -21,6 +22,7 @@
name="{{attr.path}}.max"
value="{{attr.max}}"
aria-label="Maximum value"
data-tooltip="@{{ attr.id }}.max"
>
{{/if}}
</div>