mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-21 19:41:33 +00:00
fix: ensure footer is pushed to the bottom on large screens (#2075)
Co-authored-by: shubham oulkar <91728992+ShubhamOulkar@users.noreply.github.com>
This commit is contained in:
@@ -18,6 +18,7 @@ h1, h2, h3, h4, h5, h6,
|
||||
}
|
||||
|
||||
body {
|
||||
height: 100vh;
|
||||
font: 400 14px/1.6 "Open Sans", sans-serif;
|
||||
background: var(--bg);
|
||||
margin: 0;
|
||||
@@ -40,6 +41,7 @@ header {
|
||||
}
|
||||
|
||||
footer {
|
||||
margin-top: auto;
|
||||
grid-area: footer;
|
||||
}
|
||||
|
||||
@@ -1736,3 +1738,4 @@ blockquote {
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user