From 2e4cff3fff455567ac026cdd8d4e529be08e7d8a Mon Sep 17 00:00:00 2001 From: Carl Kittelberger Date: Sun, 20 Aug 2017 05:22:54 +0200 Subject: [PATCH] Vertically center the content. --- src/App.sass | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.sass b/src/App.sass index 5ed35c9..e174a7f 100644 --- a/src/App.sass +++ b/src/App.sass @@ -6,6 +6,7 @@ font-family: 'Titillium Web', sans-serif display: flex flex-direction: column + justify-content: space-between align-items: center .content @@ -15,6 +16,6 @@ max-width: 1024px padding: 1em 0 text-align: center - flex: 1 0 auto + flex: 0 0 auto // @FIXME - known issue: padding will be treated like outer margins, causes scrollbars to appear