Skip to content

Commit

Permalink
fix: change card layout background image border radius (#780)
Browse files Browse the repository at this point in the history
  • Loading branch information
qradle-yndx authored Jan 17, 2024
1 parent 0f1eb62 commit 366ddd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/blocks/CardLayout/CardLayout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

$block: '.#{$ns}card-layout-block';

$largeBorderRadius: 32px;

#{$block} {
&__item {
margin-top: $indentSM;
Expand All @@ -23,7 +25,7 @@ $block: '.#{$ns}card-layout-block';
left: 0;
width: 100%;
height: 100%;
border-radius: 40px;
border-radius: $largeBorderRadius;

img {
object-fit: cover;
Expand Down

0 comments on commit 366ddd3

Please sign in to comment.