Skip to content

Commit

Permalink
fix(stackL): Add some missing rules and fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
pisandelli committed Jan 27, 2024
1 parent 28a4769 commit 1ba6775
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions assets/styles/StackL.module.styl
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,19 @@
flex-direction: column
justify-content: flex-start

&[recursive]:not([recursive='false']) > *
& > *,
&[recursive]:not([recursive='false']) *
margin-block: 0

& > * + *,
&[recursive]:not([recursive='false']) * + *
margin-block-start: var(--stackl-gap, var(--lc-gap, 1.5rem))

&[compact]:not([compact='false']) > * +
&[compact]:not([compact='false']) > * + *
margin-block-start: calc(var(--stackl-gap, var(--lc-gap, 1.5rem)) / 2)

&[squeezed]:not([squeezed='false']) > * + *
margin-block-start: 0

&[wide]:not([wide='false']) > * + *
margin-block-start: calc(var(--stackl-gap, var(--lc-gap, 1.5rem)) * 3)
margin-block-start: calc(var(--stackl-gap, var(--lc-gap, 1.5rem)) * 3)

0 comments on commit 1ba6775

Please sign in to comment.