Skip to content

Commit c2f9f5a

Browse files
fix: ensure footer is pushed to the bottom on large screens (#2075)
Co-authored-by: shubham oulkar <[email protected]>
1 parent 536852a commit c2f9f5a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

css/style.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ h1, h2, h3, h4, h5, h6,
1818
}
1919

2020
body {
21+
height: 100vh;
2122
font: 400 14px/1.6 "Open Sans", sans-serif;
2223
background: var(--bg);
2324
margin: 0;
@@ -40,6 +41,7 @@ header {
4041
}
4142

4243
footer {
44+
margin-top: auto;
4345
grid-area: footer;
4446
}
4547

@@ -1736,3 +1738,4 @@ blockquote {
17361738
border-bottom: 1px solid var(--border);
17371739
}
17381740
}
1741+

0 commit comments

Comments
 (0)