From 84a7c16ded64294892ca69905774375d0ccef012 Mon Sep 17 00:00:00 2001 From: Rost <43580593+RostCS@users.noreply.github.com> Date: Fri, 1 Nov 2024 11:35:13 -0500 Subject: [PATCH] fix(character sheet): make goals & connections list items adept to text size (#140) * Modify goals-list and connections-list to automatically adapt to text size * Fixing description scaling from fixed to auto --- src/style/sheets/actor/character.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/style/sheets/actor/character.scss b/src/style/sheets/actor/character.scss index af2eb9f4..377b027f 100644 --- a/src/style/sheets/actor/character.scss +++ b/src/style/sheets/actor/character.scss @@ -259,6 +259,10 @@ &:not(.collapsed):not(:first-child):not(:last-child) { border-bottom: 1px solid #302831; + height:auto; + min-height: 1.5rem; + padding-top: 0.25rem; + padding-bottom: 0.25rem; } &:not(.details) { @@ -368,6 +372,10 @@ .goal { &:not(:first-child):not(:last-child) { border-bottom: 1px solid #463a47 !important; + height: auto; + min-height: 1.5rem; + padding-top: 0.25rem; + padding-bottom: 0.25rem; } } } @@ -376,6 +384,10 @@ .connection { &:nth-child(even):not(:last-child) { border-bottom: 1px solid #463a47 !important; + height: auto; + min-height: 1.5rem; + padding-top: 0.25rem; + padding-bottom: 0.25rem; } } }