Skip to content

Commit

Permalink
Misplaced width ellement added after solving
Browse files Browse the repository at this point in the history
In the exercise Style.css, there was no width element added on the .card selector.
it's only added in the solution, so I think the width element should be moved to under the solution line.
  • Loading branch information
Skmyhrm authored Oct 3, 2021
1 parent 6b8a836 commit b400688
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 @@ -25,7 +25,6 @@ body {
border: 1px solid #eee;
box-shadow: 2px 4px 16px rgba(0,0,0,.06);
border-radius: 4px;
width: 300px;
}

/* SOLUTION */
Expand Down Expand Up @@ -78,10 +77,11 @@ a {
.card {
padding: 16px;
margin: 16px;
width: 300px;
}

.footer {
display: flex;
align-items: center;
justify-content: center;
}
}

0 comments on commit b400688

Please sign in to comment.