From 07e39a38e21b585f1cb3491d1b8e9c7b8c6ea16c Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sun, 13 Jul 2025 17:13:26 +0200 Subject: [PATCH] Fixed styling on settings tab --- styles/less/global/index.less | 1 + styles/less/global/tab-settings.less | 8 ++++++++ templates/sheets/global/partials/resource-section.hbs | 2 +- 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 styles/less/global/tab-settings.less diff --git a/styles/less/global/index.less b/styles/less/global/index.less index 932e48ab..c37de0c7 100644 --- a/styles/less/global/index.less +++ b/styles/less/global/index.less @@ -6,6 +6,7 @@ @import './tab-actions.less'; @import './tab-features.less'; @import './tab-effects.less'; +@import './tab-settings.less'; @import './item-header.less'; @import './feature-section.less'; @import './inventory-item.less'; diff --git a/styles/less/global/tab-settings.less b/styles/less/global/tab-settings.less new file mode 100644 index 00000000..3d5248be --- /dev/null +++ b/styles/less/global/tab-settings.less @@ -0,0 +1,8 @@ +@import '../utils/colors.less'; +@import '../utils/fonts.less'; + +.sheet.daggerheart.dh-style { + .tab.settings { + margin-bottom: 36px; + } +} diff --git a/templates/sheets/global/partials/resource-section.hbs b/templates/sheets/global/partials/resource-section.hbs index d71368de..f0d322d3 100644 --- a/templates/sheets/global/partials/resource-section.hbs +++ b/templates/sheets/global/partials/resource-section.hbs @@ -24,6 +24,6 @@ {{/if}} - {{formGroup systemFields.resource.fields.icon value=source.system.resource.icon localize=true placeholder="fa-solid fa-hashtag"}} + {{#if (eq source.system.resource.type 'simple')}}{{formGroup systemFields.resource.fields.icon value=source.system.resource.icon localize=true placeholder="fa-solid fa-hashtag"}}{{/if}} {{/if}} \ No newline at end of file