Skip to content

Commit

Permalink
07-flex-layout-2: Add gap to container class instead of adding margin…
Browse files Browse the repository at this point in the history
… to card class in solution.css (TheOdinProject#501)

* Add gap to container instead of adding margin to card

* Increasing gap to 32px

* Increase padding in container class
  • Loading branch information
coder09dev authored Mar 13, 2024
1 parent 80b7354 commit 65b831b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flex/07-flex-layout-2/solution/solution.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ a {
}

.container {
padding: 32px;
padding: 48px;
display: flex;
flex-wrap: wrap;
gap: 32px;
}

.card {
padding: 16px;
margin: 16px;
width: 300px;
}

Expand Down

0 comments on commit 65b831b

Please sign in to comment.