Skip to content

Commit

Permalink
fix: cardLayout width in Filter block (#797)
Browse files Browse the repository at this point in the history
  • Loading branch information
NikitaCG authored Feb 1, 2024
1 parent 3e5ae8e commit 46894f6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/blocks/FilterBlock/FilterBlock.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ $innerBlock: '.#{$ns}block-base';
margin: 0px;
}

&__cards-container {
width: 100%;
}

// @deprecated
--pc-first-block-indent: 0;
--pc-first-block-mobile-indent: 0;
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/FilterBlock/FilterBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const FilterBlock: React.FC<FilterBlockProps> = ({
</Row>
)}
<Row className={b('block-container')}>
<CardLayoutBlock title="" colSizes={colSizes}>
<CardLayoutBlock title="" colSizes={colSizes} className={b('cards-container')}>
{cards.map((card, index) => {
const key = getBlockKey(card, index);

Expand Down

0 comments on commit 46894f6

Please sign in to comment.