Skip to content

Commit ea9fb98

Browse files
committed
Move Border box to the non solution part
1 parent befceeb commit ea9fb98

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

flex/07-flex-layout-2/solution/solution.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ body {
1919
.sidebar {
2020
width: 300px;
2121
background: royalblue;
22+
box-sizing: border-box;
2223
}
2324

2425
.card {
@@ -50,7 +51,6 @@ body {
5051
.sidebar {
5152
flex-shrink: 0;
5253
padding: 16px;
53-
box-sizing: border-box;
5454
}
5555

5656
ul {

flex/07-flex-layout-2/style.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ body {
1919
.sidebar {
2020
width: 300px;
2121
background: royalblue;
22+
box-sizing: border-box;
2223
}
2324

2425
.card {

0 commit comments

Comments
 (0)