From ccd42ad1d42d554861afd88a97cc1cb66ae9c3f4 Mon Sep 17 00:00:00 2001 From: bjarnef Date: Sat, 21 May 2016 22:42:58 +0200 Subject: [PATCH] Fix some issues in landscape mode --- src/Umbraco.Web.UI.Client/src/less/pages/login.less | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Umbraco.Web.UI.Client/src/less/pages/login.less b/src/Umbraco.Web.UI.Client/src/less/pages/login.less index acd3df2556..892977180e 100644 --- a/src/Umbraco.Web.UI.Client/src/less/pages/login.less +++ b/src/Umbraco.Web.UI.Client/src/less/pages/login.less @@ -80,10 +80,10 @@ margin-top: 10px; } -@media (max-width: 767px) and (max-height: 420px){ +@media (max-width: 767px) and (max-height: 420px) and (orientation: landscape) { // Move form closer to top on narrow screen sizes .login-overlay .form { - top: 60px; + top: 50px; } } @@ -96,9 +96,13 @@ padding-left: 25px; padding-right:25px; width: auto; + } +} +@media (max-width: 339px) { + .login-overlay .form { input[type="text"], input[type="password"] { - width: 250px; + width: 250px; } } }