diff --git a/src/ds4.scss b/src/ds4.scss index db46a09a..af018bb7 100644 --- a/src/ds4.scss +++ b/src/ds4.scss @@ -8,6 +8,7 @@ @import "scss/global/window"; @import "scss/global/grid"; @import "scss/global/flex"; +@import "scss/global/accessibility"; /* Styles limited to ds4 sheets */ .ds4 { diff --git a/src/scss/components/_basic_property.scss b/src/scss/components/_basic_property.scss index 40978da4..56668373 100644 --- a/src/scss/components/_basic_property.scss +++ b/src/scss/components/_basic_property.scss @@ -1,6 +1,7 @@ .basic-properties { flex: 0 0 100%; - gap: 2px; + grid-gap: 2px; + grid-template-columns: repeat(auto-fill, minmax(9em, 1fr)); .basic-property { display: grid; align-content: end; diff --git a/src/scss/components/_character_progression.scss b/src/scss/components/_character_progression.scss index c2b3fdcd..b13927d9 100644 --- a/src/scss/components/_character_progression.scss +++ b/src/scss/components/_character_progression.scss @@ -11,7 +11,7 @@ font-family: $font-heading; display: block; height: 50px; - padding: 0px; + padding: 0; color: $c-light-grey; border: none; line-height: 50px; diff --git a/src/scss/components/_description.scss b/src/scss/components/_description.scss index 767fb516..fc299a29 100644 --- a/src/scss/components/_description.scss +++ b/src/scss/components/_description.scss @@ -9,7 +9,7 @@ .side-property { margin: 2px 0; display: grid; - grid-template-columns: 40% auto; + grid-template-columns: minmax(40%, max-content) 1fr; justify-content: left; label { diff --git a/src/scss/global/_accessibility.scss b/src/scss/global/_accessibility.scss new file mode 100644 index 00000000..dd0e4211 --- /dev/null +++ b/src/scss/global/_accessibility.scss @@ -0,0 +1,3 @@ +.hidden { + display: none; +} diff --git a/src/templates/actor/character-sheet.hbs b/src/templates/actor/character-sheet.hbs index b1008c7a..0fb538f9 100644 --- a/src/templates/actor/character-sheet.hbs +++ b/src/templates/actor/character-sheet.hbs @@ -1,55 +1,71 @@