From 05b26fcb308ebe75a5d25bbf773f80f7a60ba1df Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 20 Oct 2024 21:16:26 +0200 Subject: Add no-flush to card-list --- src/layouts/_card-list.scss | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/layouts/_card-list.scss b/src/layouts/_card-list.scss index ecd767f..6bdf7b3 100644 --- a/src/layouts/_card-list.scss +++ b/src/layouts/_card-list.scss @@ -46,12 +46,14 @@ flex-flow: row wrap; gap: props.get(vars.$masonry-h--col-gap); - &::after { - display: block; - flex: 1 0 auto; - inline-size: props.get(vars.$masonry-h--row-height); - block-size: 0; - content: ''; + @include iro.bem-modifier('no-flush') { + &::after { + display: block; + flex: 1 0 auto; + inline-size: props.get(vars.$masonry-h--row-height); + block-size: 0; + content: ''; + } } @include iro.bem-elem('card') { -- cgit v1.2.3-70-g09d2