]> git.mxchange.org Git - friendica.git/commitdiff
Fix login page layout without OpenId.
authorAndreas Neustifter <andreas.neustifter@gmail.com>
Fri, 27 Apr 2018 20:00:46 +0000 (20:00 +0000)
committerAndreas Neustifter <andreas.neustifter@gmail.com>
Fri, 27 Apr 2018 20:00:46 +0000 (20:00 +0000)
When OpenId is disabled and the input therefore is missing from the login the page looks
weird. Fix that.

view/theme/frio/css/style.css
view/theme/frio/templates/login.tpl

index 0d611de4128a3c10d86996a13245704dbce0ee37..18b2f4208899a4dc945fdbd89fba7569b944ce77 100644 (file)
@@ -3187,7 +3187,6 @@ section .profile-match-wrapper {
 
 .mod-home.is-not-singleuser .login-form > #login-extra-links {
     margin-top: 4em;
-    margin-bottom: 1em;
 }
 
 .mod-home.is-not-singleuser .login-form > #login-form label,
@@ -3213,7 +3212,6 @@ section .profile-match-wrapper {
         background-color: #fff;
         padding: 1em;
         position: relative;
-        margin-top: 4em;
     }
     .mod-home.is-not-singleuser .login-form > #login-extra-links {
         margin-top: unset;
@@ -3225,7 +3223,7 @@ section .profile-match-wrapper {
         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 {
         display: block;
         position: absolute;
@@ -3238,7 +3236,7 @@ section .profile-match-wrapper {
         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 {
         display: block;
         position: absolute;
index 57bb86c150363a6e1cd74a49425b080301b190ea..ae586a3e6a020bbded3e3612aafaa6b7f87b7438 100644 (file)
@@ -11,6 +11,7 @@
                        <div id="login-lost-password-link">
                                <a href="lostpass" title="{{$lostpass|escape:'html'}}" id="lost-password-link" >{{$lostlink}}</a>
                        </div>
+                       <div id="login-end"></div>
                </div>
 
                {{if $openid}}