Also remove fieldset for npc features and fix padding issue in full screen notes

This commit is contained in:
Carlos Fernandez 2026-07-03 01:42:34 -04:00
parent 7409a577f6
commit b73c70aeb8
3 changed files with 15 additions and 17 deletions

View file

@ -79,6 +79,7 @@
.editor-content { .editor-content {
scrollbar-gutter: stable; scrollbar-gutter: stable;
padding-right: @right-padding; padding-right: @right-padding;
padding-bottom: 4px;
} }
&.inactive { &.inactive {
button.toggle { button.toggle {
@ -89,7 +90,7 @@
} }
} }
&.active { &.active {
padding: 8px 0 4px 16px; padding: 8px 0 0 16px;
} }
} }

View file

@ -7,12 +7,8 @@
} }
.feature-section { .feature-section {
display: flex; padding: 16px calc(16px - var(--scrollbar-width)) 4px 16px;
flex-direction: column; .stable-scroll-container();
gap: 10px;
overflow-y: auto;
padding-bottom: 4px;
.with-scroll-shadows();
} }
} }
} }

View file

@ -1,14 +1,15 @@
<section class='tab {{tabs.features.cssClass}} {{tabs.features.id}}' data-tab='{{tabs.features.id}}' <section class='tab {{tabs.features.cssClass}} {{tabs.features.id}}' data-tab='{{tabs.features.id}}'
data-group='{{tabs.features.group}}'> data-group='{{tabs.features.group}}'>
<div class="feature-section"> <div class="feature-section items-list">
{{> 'daggerheart.inventory-items' {{#each @root.features as |item|}}
title=tabs.features.label {{> "daggerheart.inventory-item"
type='feature' item=item
collection=@root.features type="feature"
hideContextMenu=true actorType=@root.document.type
hideModifyControls=true hideContextMenu=true
canCreate=@root.editable hideModifyControls=true
showActions=@root.editable showActions=@root.editable
}} }}
{{/each}}
</div> </div>
</section> </section>