From 7ad1b150abc4b771312b295625410da0a1072023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?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=UTF-8 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 2206f21dff..c3713ff0e8 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; +}