Changeset 38739
- Timestamp:
- 10/06/2016 03:51:53 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/login.css
r38152 r38739 217 217 } 218 218 219 .mobile #login {220 padding: 20px 0;221 }222 223 .mobile #login form {224 margin-left: 0;225 }226 227 .mobile #login #nav,228 .mobile #login #backtoblog {229 margin-left: 8px;230 }231 232 219 body.interim-login { 233 220 height: auto; … … 254 241 @-ms-viewport { 255 242 width: device-width; 243 } 244 245 @media screen and ( max-height: 550px ) { 246 #login { 247 padding: 20px 0; 248 } 256 249 } 257 250 -
trunk/src/wp-login.php
r38477 r38739 37 37 add_action( 'login_head', 'wp_no_robots' ); 38 38 39 if ( wp_is_mobile() ) 40 add_action( 'login_head', 'wp_login_viewport_meta' ); 39 add_action( 'login_head', 'wp_login_viewport_meta' ); 41 40 42 41 if ( empty($wp_error) ) … … 125 124 126 125 $classes = array( 'login-action-' . $action, 'wp-core-ui' ); 127 if ( wp_is_mobile() )128 $classes[] = 'mobile';129 126 if ( is_rtl() ) 130 127 $classes[] = 'rtl'; … … 261 258 */ 262 259 function wp_shake_js() { 263 if ( wp_is_mobile() )264 return;265 260 ?> 266 261 <script type="text/javascript">
Note: See TracChangeset
for help on using the changeset viewer.