diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-05-07 10:56:01 +0200 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2019-05-07 10:56:01 +0200 |
commit | 7ad1b150abc4b771312b295625410da0a1072023 (patch) | |
tree | d8a6c63357fe11c24e499070cf3ff3f796916304 /core/css/publicshareauth.css | |
parent | c60f6716b41dde9d1d7b73077b49ad0ee71761ef (diff) | |
download | nextcloud-server-7ad1b150abc4b771312b295625410da0a1072023.tar.gz nextcloud-server-7ad1b150abc4b771312b295625410da0a1072023.zip |
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/publicshareauth.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; +} |