Skip to content

Commit 7ea8995

Browse files
fixed previous footer issue. Footer is now at bottom of viewport
1 parent 6d44f5f commit 7ea8995

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Wireframe/style.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ body{
4141
color: var(--ink);
4242
font: var(--font);
4343
text-transform: uppercase;
44+
min-height: 100vh;
45+
display: flex;
46+
flex-direction: column;
4447
}
4548

4649
a {
@@ -62,11 +65,11 @@ https://www.w3.org/WAI/tutorials/page-structure/regions/
6265
main {
6366
max-width: var(--container);
6467
margin: 0 auto calc(var(--space) * 4) auto;
68+
flex: 1;
6569
}
6670

6771
footer{
6872
text-align: center;
69-
max-height: 100vh;
7073
}
7174

7275
/* ====== Articles Grid Layout ====

0 commit comments

Comments
 (0)