From f2e5ef1cbfcc2bb2ba7181b10d447ecd3a13499a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Calvi=C3=B1o=20S=C3=A1nchez?= Date: Tue, 7 May 2019 10:56:01 +0200 Subject: [PATCH] Remove extra margin from warning messages in authenticate page MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit In the public share authentication page the form elements appear inside a container that uses the "warning" CSS class. When the given password is wrong a warning message is shown inside that container; this message uses the "warning" CSS class too, so the top margin set for ".warning" elements need to be removed in that case. Signed-off-by: Daniel Calviño Sánchez --- core/css/publicshareauth.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/core/css/publicshareauth.css b/core/css/publicshareauth.css index 2206f21dff6..c3713ff0e8b 100644 --- a/core/css/publicshareauth.css +++ b/core/css/publicshareauth.css @@ -26,3 +26,8 @@ input[type='submit'].icon-confirm { height: 45px; background-color: transparent !important; } + +.warning > .warning { + /* Do not use a top margin for warning messages in the warning container. */ + margin-top: 0; +} -- 2.39.5