From 2bd0f45237427074b4c39f9329c0e02c8837a00c Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sun, 31 May 2026 03:09:17 +0200 Subject: [PATCH] Fixed features tab scrolling --- styles/less/sheets/actors/npc/features.less | 18 ++++++++++++++++++ styles/less/sheets/actors/npc/index.less | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 styles/less/sheets/actors/npc/features.less diff --git a/styles/less/sheets/actors/npc/features.less b/styles/less/sheets/actors/npc/features.less new file mode 100644 index 00000000..107b5a06 --- /dev/null +++ b/styles/less/sheets/actors/npc/features.less @@ -0,0 +1,18 @@ +.application.sheet.daggerheart.actor.dh-style.npc { + .tab.features { + &.active { + overflow: hidden; + display: flex; + flex-direction: column; + } + + .feature-section { + display: flex; + flex-direction: column; + gap: 10px; + overflow-y: auto; + mask-image: linear-gradient(0deg, transparent 0%, black 5%); + padding-bottom: 20px; + } + } +} diff --git a/styles/less/sheets/actors/npc/index.less b/styles/less/sheets/actors/npc/index.less index 03fa408e..2d7d54e3 100644 --- a/styles/less/sheets/actors/npc/index.less +++ b/styles/less/sheets/actors/npc/index.less @@ -1,2 +1,3 @@ @import './sheet.less'; -@import './header.less'; \ No newline at end of file +@import './header.less'; +@import './features.less'; \ No newline at end of file