diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-05-07 11:56:01 +0300 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2019-05-07 13:12:14 +0300 |
commit | f2e5ef1cbfcc2bb2ba7181b10d447ecd3a13499a (patch) | |
tree | d93f4eb7354f69ac4afd46a6efabe22f98665691 /core/css | |
parent | e719bd595f5fbb217d1f5b8e2e7a34cb5c583843 (diff) |
Remove extra margin from warning messages in authenticate page
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 <danxuliu@gmail.com>
Diffstat (limited to 'core/css')
-rw-r--r-- | core/css/publicshareauth.css | 5 |
1 files changed, 5 insertions, 0 deletions
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; +} |