From b5caefc0d40a57cd08ef5512e6788030db4c7d1e Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 20 Jul 2018 18:51:13 +0200 Subject: [PATCH] Makes footer sticky to bottom and changes footer styles --- app/assets/stylesheets/layout.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 2c09ecb84..fc1205aff 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -34,6 +34,12 @@ background-color: $brand; } +html, +body { + height: 100%; + margin: 0; +} + body { font-size: $base-font-size; } @@ -794,8 +800,7 @@ footer { } .footer { - background: $border; - border-top: 6px solid $brand; + background: #f1f1f1; margin-top: $line-height * 2; padding-top: $line-height; }