diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/molecules/layout/card.tsx | 2 | ||||
| -rw-r--r-- | src/components/organisms/layout/cards-list.module.scss | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/components/molecules/layout/card.tsx b/src/components/molecules/layout/card.tsx index 68e364a..7bbd040 100644 --- a/src/components/molecules/layout/card.tsx +++ b/src/components/molecules/layout/card.tsx @@ -77,7 +77,7 @@ const Card: FC<CardProps> = ({ {title} </Heading> </header> - {tagline && <div className={styles.tagline}>{tagline}</div>} + <div className={styles.tagline}>{tagline}</div> {meta && ( <footer className={styles.footer}> <Meta diff --git a/src/components/organisms/layout/cards-list.module.scss b/src/components/organisms/layout/cards-list.module.scss index 2763585..6274b93 100644 --- a/src/components/organisms/layout/cards-list.module.scss +++ b/src/components/organisms/layout/cards-list.module.scss @@ -1,3 +1,4 @@ +@use "@styles/abstracts/mixins" as mix; @use "@styles/abstracts/placeholders"; .wrapper { @@ -11,6 +12,12 @@ align-items: stretch; justify-items: stretch; + @include mix.media("screen") { + @include mix.dimensions(null, "sm") { + gap: var(--spacing-lg); + } + } + &--ordered { @extend %reset-ordered-list; } |
