From 00bb46f6f17fbfa73ebc1c4a974bb1b731fe6d10 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 6 Aug 2020 17:18:00 +0200 Subject: [PATCH] login / recoverPassword forms: fix logo style when is too large --- src/css/default/login.css | 6 ++++-- src/css/default/recoverpassword.css | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/css/default/login.css b/src/css/default/login.css index ee1872ec..ace9932a 100644 --- a/src/css/default/login.css +++ b/src/css/default/login.css @@ -1,5 +1,6 @@ -#loginform-logo { - float: left; +#loginform_logo { + max-width: 30em; + max-height: 20vh; } div.loginform { @@ -73,6 +74,7 @@ a.LSsession_recoverPassword { #loginform_logo { margin: 1em; + max-width: calc(90vw - 2em); } div.loginform { diff --git a/src/css/default/recoverpassword.css b/src/css/default/recoverpassword.css index 318ff148..da3fa7c3 100644 --- a/src/css/default/recoverpassword.css +++ b/src/css/default/recoverpassword.css @@ -1,5 +1,6 @@ -#recoverpasswordform-logo { - float: left; +#recoverpasswordform_logo { + max-width: 30em; + max-height: 20vh; } div.recoverpasswordform { @@ -75,6 +76,7 @@ dl.recoverpasswordform { #recoverpasswordform_logo { margin: 1em; + max-width: calc(90vw - 2em); } .recoverpasswordform dt {