Skip to content

Commit 051bb74

Browse files
committed
Update footer styling
Signed-off-by: Finnian Anderson <[email protected]>
1 parent c283636 commit 051bb74

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/App.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,15 @@ html, body {
4545
-webkit-font-smoothing: antialiased;
4646
-moz-osx-font-smoothing: grayscale;
4747
color: #2c3e50;
48+
display: flex;
49+
flex-direction: column;
50+
width: 100%;
51+
height: 100%;
4852
}
4953
5054
main {
5155
text-align: center;
52-
margin-bottom: 8em;
56+
flex: 1 0 auto;
5357
}
5458
5559
header, footer {
@@ -72,13 +76,10 @@ footer span {
7276
}
7377
7478
footer {
79+
flex-shrink: 0;
7580
padding: 1em 1.5em;
7681
font-size: 1em;
7782
text-align: center;
78-
position: fixed;
79-
bottom: 0;
80-
left: 0;
81-
right: 0;
8283
}
8384
8485
footer span:first-of-type {

0 commit comments

Comments
 (0)