Skip to content

Commit 0ac269f

Browse files
committed
resize
1 parent a4578e4 commit 0ac269f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

src/Cards/CardList.js

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ function CardList(props) {
4141
}
4242

4343
return (
44-
<StackGrid className="container p-0" {...gridSettings}>
45-
{props.cards.map ? (props.cards.map((card, index) => {
46-
return (
47-
<CardItem card={card} key={index} index={index} />
48-
)
49-
})) : null}
50-
</StackGrid>
44+
<div className="p-0 m-0 px-sm-1 px-md-2 px-lg-3 px-xl-4">
45+
<StackGrid className="container-fluid p-0" {...gridSettings}>
46+
{props.cards.map ? (props.cards.map((card, index) => {
47+
return (
48+
<CardItem card={card} key={index} index={index} />
49+
)
50+
})) : null}
51+
</StackGrid>
52+
</div>
5153
)
5254
}
5355

0 commit comments

Comments
 (0)