Skip to content

Commit a8f078c

Browse files
committed
feat: fix styles for centered
1 parent 9fe9a00 commit a8f078c

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/blocks/CardLayout/CardLayout.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ $largeBorderRadius: 32px;
2121

2222
&__title {
2323
&_centered {
24+
display: flex;
25+
flex-direction: column;
26+
align-items: center;
2427
text-align: center;
2528
}
2629
}

src/blocks/CardLayout/CardLayout.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ const CardLayout = ({
4646
colJustifyContent={
4747
centered ? GridJustifyContent.Center : GridJustifyContent.Start
4848
}
49-
colSizes={{
50-
all: 12,
51-
sm: centered ? 12 : 8,
52-
}}
5349
/>
5450
)}
5551
<div

0 commit comments

Comments
 (0)