Privacy: Reposition log in policy link to avoid overlapping elements.
Previously, the link used absolute positioning, in order to stick it at the bottom of the page. That was done in order to create visual separation between it and the "action" links, like "Lost Your Password?" The absolute positioning can cause conflicts in some situations, though. For example, if extra text or error notices are added above the form, then the login link would be positioned on top of other elements. Switching to relative positioning with extra margins avoids those issues, while maintaining the visual separation between the "action" links and the privacy policy link. Props imath, melchoyce, desrosj, xkon, iandunn. Fixes #44046. Built from https://develop.svn.wordpress.org/trunk@43274 git-svn-id: http://core.svn.wordpress.org/trunk@43103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8c06c2c662
commit
3aaef96ff8
|
@ -202,9 +202,7 @@ p {
|
|||
.login .privacy-policy-page-link {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
right: 0;
|
||||
margin: 5em 0 2em;
|
||||
}
|
||||
|
||||
.login form .input,
|
||||
|
@ -265,13 +263,6 @@ body.interim-login {
|
|||
width: device-width;
|
||||
}
|
||||
|
||||
@media ( max-height: 600px ) {
|
||||
.login .privacy-policy-page-link {
|
||||
position: relative;
|
||||
margin: 60px 0 20px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ( max-height: 550px ) {
|
||||
#login {
|
||||
padding: 20px 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -202,9 +202,7 @@ p {
|
|||
.login .privacy-policy-page-link {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
bottom: 20px;
|
||||
left: 0;
|
||||
margin: 5em 0 2em;
|
||||
}
|
||||
|
||||
.login form .input,
|
||||
|
@ -265,13 +263,6 @@ body.interim-login {
|
|||
width: device-width;
|
||||
}
|
||||
|
||||
@media ( max-height: 600px ) {
|
||||
.login .privacy-policy-page-link {
|
||||
position: relative;
|
||||
margin: 60px 0 20px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ( max-height: 550px ) {
|
||||
#login {
|
||||
padding: 20px 0;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.0-alpha-43269';
|
||||
$wp_version = '5.0-alpha-43274';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue