From 67db515fe1df7c85e4d862edb90ea680ed7af8a6 Mon Sep 17 00:00:00 2001 From: Stian Thorgersen Date: Tue, 4 Mar 2014 15:41:06 +0000 Subject: [PATCH] Fix for small height --- .../theme/login/patternfly/resources/css/login.css | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/forms/common-themes/src/main/resources/theme/login/patternfly/resources/css/login.css b/forms/common-themes/src/main/resources/theme/login/patternfly/resources/css/login.css index e4f64c87167..2872d7f1067 100644 --- a/forms/common-themes/src/main/resources/theme/login/patternfly/resources/css/login.css +++ b/forms/common-themes/src/main/resources/theme/login/patternfly/resources/css/login.css @@ -225,11 +225,6 @@ ol#kc-totp-settings li:first-of-type { float: none; } - #kc-container-wrapper { - position: inherit; - float: none; - } - #kc-form { padding-left: 15px; padding-right: 15px; @@ -253,4 +248,11 @@ ol#kc-totp-settings li:first-of-type { padding-top: 15px; padding-bottom: 15px; } -} \ No newline at end of file +} + +@media (max-height: 500px) { + #kc-container-wrapper { + position: inherit; + float: none; + } +}