Skip to content

Commit

Permalink
Stick footer for short posts (#223)
Browse files Browse the repository at this point in the history
Fix #222
  • Loading branch information
DirtyF committed Apr 1, 2018
1 parent 00d4d2d commit be3a0a1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
7 changes: 7 additions & 0 deletions _posts/2016-05-19-super-short-article.md
@@ -0,0 +1,7 @@
---
layout: post
title: "Some articles are just so short that we have to make the footer stick"
categories: misc
---

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
3 changes: 3 additions & 0 deletions _sass/minima/_base.scss
Expand Up @@ -23,6 +23,9 @@ body {
-o-font-feature-settings: "kern" 1;
font-feature-settings: "kern" 1;
font-kerning: normal;
display: flex;
min-height: 100vh;
flex-direction: column;
}


Expand Down
1 change: 1 addition & 0 deletions _sass/minima/_layout.scss
Expand Up @@ -177,6 +177,7 @@
*/
.page-content {
padding: $spacing-unit 0;
flex: 1;
}

.page-heading {
Expand Down

0 comments on commit be3a0a1

Please sign in to comment.