From 3cfabadb5517796713e3eaf27b53ee41a195c0f9 Mon Sep 17 00:00:00 2001 From: Mathieu Brunot Date: Sat, 27 Jan 2018 16:41:06 +0100 Subject: [PATCH] Fix login form display on IE and Chrome Use viewport height for defining the margin-top. --- skins/elastic/styles/styles.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skins/elastic/styles/styles.less b/skins/elastic/styles/styles.less index 981475a09..7ee7b3daa 100644 --- a/skins/elastic/styles/styles.less +++ b/skins/elastic/styles/styles.less @@ -146,7 +146,7 @@ a.disabled:not(.btn) { #login-form { margin: 0 auto; - top: 35%; + top: 35vh; width: 95%; max-width: 280px; position: relative;