1
1
Fork 0

Fix login page layout without OpenId.

When OpenId is disabled and the input therefore is missing from the login the page looks
weird. Fix that.
This commit is contained in:
Andreas Neustifter 2018-04-27 20:00:46 +00:00
parent 8a7c9d6666
commit babb45efd8
2 changed files with 3 additions and 4 deletions

View file

@ -3187,7 +3187,6 @@ section .profile-match-wrapper {
.mod-home.is-not-singleuser .login-form > #login-extra-links { .mod-home.is-not-singleuser .login-form > #login-extra-links {
margin-top: 4em; margin-top: 4em;
margin-bottom: 1em;
} }
.mod-home.is-not-singleuser .login-form > #login-form label, .mod-home.is-not-singleuser .login-form > #login-form label,
@ -3213,7 +3212,6 @@ section .profile-match-wrapper {
background-color: #fff; background-color: #fff;
padding: 1em; padding: 1em;
position: relative; position: relative;
margin-top: 4em;
} }
.mod-home.is-not-singleuser .login-form > #login-extra-links { .mod-home.is-not-singleuser .login-form > #login-extra-links {
margin-top: unset; margin-top: unset;
@ -3225,7 +3223,7 @@ section .profile-match-wrapper {
color: #444; color: #444;
} }
.mod-home.is-not-singleuser .login-form > #login-form::before, .mod-home.is-not-singleuser .login-form::before,
.mod-login #content #login-form::before { .mod-login #content #login-form::before {
display: block; display: block;
position: absolute; position: absolute;
@ -3238,7 +3236,7 @@ section .profile-match-wrapper {
z-index: -1; z-index: -1;
} }
.mod-home.is-not-singleuser .login-form > #login-form::after, .mod-home.is-not-singleuser .login-form::after,
.mod-login #content #login-form::after { .mod-login #content #login-form::after {
display: block; display: block;
position: absolute; position: absolute;

View file

@ -11,6 +11,7 @@
<div id="login-lost-password-link"> <div id="login-lost-password-link">
<a href="lostpass" title="{{$lostpass|escape:'html'}}" id="lost-password-link" >{{$lostlink}}</a> <a href="lostpass" title="{{$lostpass|escape:'html'}}" id="lost-password-link" >{{$lostlink}}</a>
</div> </div>
<div id="login-end"></div>
</div> </div>
{{if $openid}} {{if $openid}}