From 6b2c08d6dfbdb77d1d392f68c9db0af5d0a7f7c8 Mon Sep 17 00:00:00 2001 From: Regis Date: Mon, 7 Aug 2017 20:15:45 -0600 Subject: [PATCH] use 100vh instead of flip flopping between the two - works on all suported browsers --- app/assets/stylesheets/framework/layout.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/stylesheets/framework/layout.scss b/app/assets/stylesheets/framework/layout.scss index e18af246c55..bab56174c4c 100644 --- a/app/assets/stylesheets/framework/layout.scss +++ b/app/assets/stylesheets/framework/layout.scss @@ -130,9 +130,7 @@ of the body element here, we negate cascading side effects but allow momentum sc } .vertical-center { - min-height: 100%; min-height: 100vh; - display: flex; align-items: center; -} \ No newline at end of file +} -- GitLab