Skip to content

Commit

Permalink
fix(character sheet): make goals & connections list items adept to te…
Browse files Browse the repository at this point in the history
…xt size (#140)

* Modify goals-list and connections-list to automatically adapt to text size

* Fixing description scaling from fixed to auto
  • Loading branch information
RostCS authored Nov 1, 2024
1 parent 9a36dc4 commit 84a7c16
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/style/sheets/actor/character.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
}
}
}
Expand All @@ -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;
}
}
}
Expand Down

0 comments on commit 84a7c16

Please sign in to comment.