diff options
| author | Volpeon <git@volpeon.ink> | 2026-02-21 11:12:09 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2026-02-21 11:12:09 +0100 |
| commit | 054025249f837e1a8f38df8417bdb67d85196b9c (patch) | |
| tree | 4055784e2fab70cafe9615269786c8ace1916b1b /src/layouts/_card-list.scss | |
| parent | Fix (diff) | |
| download | iro-design-054025249f837e1a8f38df8417bdb67d85196b9c.tar.gz iro-design-054025249f837e1a8f38df8417bdb67d85196b9c.tar.bz2 iro-design-054025249f837e1a8f38df8417bdb67d85196b9c.zip | |
Update card list
Diffstat (limited to 'src/layouts/_card-list.scss')
| -rw-r--r-- | src/layouts/_card-list.scss | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/layouts/_card-list.scss b/src/layouts/_card-list.scss index 6a6fe01..1c64b4d 100644 --- a/src/layouts/_card-list.scss +++ b/src/layouts/_card-list.scss | |||
| @@ -79,7 +79,7 @@ | |||
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | 81 | ||
| 82 | @each $mod, $row-gap, $col-gap, $col-width, $quiet--row-gap in vars.$grid-layouts { | 82 | @each $mod, $row-gap, $col-gap, $col-width, $quiet--row-gap, $breakpoint in vars.$grid-layouts { |
| 83 | @include bem.modifier($mod) { | 83 | @include bem.modifier($mod) { |
| 84 | display: grid; | 84 | display: grid; |
| 85 | grid-template-columns: repeat(auto-fill, minmax(props.get($col-width), 1fr)); | 85 | grid-template-columns: repeat(auto-fill, minmax(props.get($col-width), 1fr)); |
| @@ -88,6 +88,10 @@ | |||
| 88 | @include bem.modifier('quiet') { | 88 | @include bem.modifier('quiet') { |
| 89 | row-gap: props.get($quiet--row-gap); | 89 | row-gap: props.get($quiet--row-gap); |
| 90 | } | 90 | } |
| 91 | |||
| 92 | @include media.media('<=#{$breakpoint}') { | ||
| 93 | display: flex; | ||
| 94 | } | ||
| 91 | } | 95 | } |
| 92 | } | 96 | } |
| 93 | 97 | ||
