Remove fieldset from top level notes (#2048)

This commit is contained in:
Carlos Fernandez 2026-06-30 05:18:13 -04:00 committed by GitHub
parent 8c6a470d84
commit 2cc52fae1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 49 additions and 23 deletions

View file

@ -1,13 +1,9 @@
<section
class='tab {{tabs.notes.cssClass}} {{tabs.notes.id}}'
data-tab='{{tabs.notes.id}}'
data-group='{{tabs.notes.group}}'
class="tab {{tabs.notes.cssClass}} {{tabs.notes.id}}"
data-tab="{{tabs.notes.id}}"
data-group="{{tabs.notes.group}}"
>
<fieldset class="fit-height">
<legend>{{localize tabs.notes.label}}</legend>
{{formInput notes.field value=notes.value enriched=notes.enriched toggled=true}}
</fieldset>
{{formInput notes.field value=notes.value enriched=notes.enriched toggled=true}}
{{#if (and showAttribution document.system.attribution.artist)}}
<label class="artist-attribution">{{localize "DAGGERHEART.GENERAL.artistAttribution" artist=document.system.attribution.artist}}</label>
{{/if}}

View file

@ -3,10 +3,7 @@
data-tab='{{tabs.notes.id}}'
data-group='{{tabs.notes.group}}'
>
<fieldset class="fit-height">
<legend>{{localize tabs.notes.label}}</legend>
{{formInput notes.field value=notes.value enriched=notes.value toggled=true}}
</fieldset>
{{formInput notes.field value=notes.value enriched=notes.value toggled=true}}
{{#if (and showAttribution document.system.attribution.artist)}}
<label class="artist-attribution">{{localize "DAGGERHEART.GENERAL.artistAttribution" artist=document.system.attribution.artist}}</label>

View file

@ -1,7 +1,7 @@
<section
class='tab {{tabs.notes.cssClass}} {{tabs.notes.id}}'
data-tab='{{tabs.notes.id}}'
data-group='{{tabs.notes.group}}'
class="tab {{tabs.notes.cssClass}} {{tabs.notes.id}}"
data-tab="{{tabs.notes.id}}"
data-group="{{tabs.notes.group}}"
>
{{formInput notes.field value=notes.value enriched=notes.enriched toggled=true}}

View file

@ -1,10 +1,7 @@
<section
class='tab {{tabs.notes.cssClass}} {{tabs.notes.id}}'
data-tab='{{tabs.notes.id}}'
data-group='{{tabs.notes.group}}'
class="tab {{tabs.notes.cssClass}} {{tabs.notes.id}}"
data-tab="{{tabs.notes.id}}"
data-group="{{tabs.notes.group}}"
>
<fieldset class="fit-height">
<legend>{{localize tabs.notes.label}}</legend>
{{formInput notes.field value=notes.value enriched=notes.value toggled=true}}
</fieldset>
{{formInput notes.field value=notes.value enriched=notes.value toggled=true}}
</section>