mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
Login: Don't rely on wp_is_mobile() for functionality.
Making behavior changes based on some broad definition of what mobile is rarely, if ever, makes sense. Each bit of functionality should be more clearly targeted, whether that's for screen size, performance, or some kind of touch capability. props akibjorklund. see #33704. git-svn-id: https://develop.svn.wordpress.org/trunk@38739 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -216,19 +216,6 @@ p {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.mobile #login {
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.mobile #login form {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.mobile #login #nav,
|
||||
.mobile #login #backtoblog {
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
||||
body.interim-login {
|
||||
height: auto;
|
||||
}
|
||||
@@ -255,6 +242,12 @@ body.interim-login {
|
||||
width: device-width;
|
||||
}
|
||||
|
||||
@media screen and ( max-height: 550px ) {
|
||||
#login {
|
||||
padding: 20px 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and ( max-width: 782px ) {
|
||||
.interim-login input[type=checkbox] {
|
||||
height: 16px;
|
||||
|
||||
Reference in New Issue
Block a user