Skip to content

Commit b8d026a

Browse files
committed
Re-arranged markup/css so header content is separate from header include
1 parent e51920c commit b8d026a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

_sass/layout.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,11 @@ body {
3535
padding-right: 15px;
3636
grid-column-gap: 50px;
3737
grid-template-columns: repeat(12, 1fr);
38-
grid-template-rows: 590px 1000px 200px;
38+
grid-template-rows: 115px 590px 1000px 200px;
3939
grid-column-gap: 30px;
4040
grid-template-areas:
4141
"h h h h h h h h h h h h"
42+
"p p p p p p p p p p p p"
4243
"c c c c c c c c c c c c"
4344
"f f f f f f f f f f f f";
4445
}
@@ -47,7 +48,7 @@ header {
4748
grid-area: h;
4849
display: grid;
4950
grid-template-columns: repeat(12, 1fr);
50-
grid-template-rows: 115px 590px;
51+
grid-template-rows: 115px;
5152
}
5253

5354
.logo {
@@ -96,8 +97,7 @@ nav > ul li a {
9697
}
9798

9899
.iphonePreview {
99-
grid-column: 1 / span 6;
100-
grid-row: 2 / span 1;
100+
grid-area: p;
101101
background-color: #000000;
102102
}
103103

0 commit comments

Comments
 (0)