WordPress.org

Make WordPress Core

Changeset 33331


Ignore:
Timestamp:
07/20/2015 07:00:29 PM (7 years ago)
Author:
obenland
Message:

Passwords: Use small screen styles for all small screens.

H/t johnjamesjacoby.
Introduced in [33206].

See #32589.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/css/forms.css

    r33275 r33331  
    12061206        max-width: none;
    12071207    }
    1208 }
    1209 
    1210 @media only screen and (max-width: 768px) {
    1211     .form-field input[type="text"],
    1212     .form-field input[type="email"],
    1213     .form-field input[type="password"],
    1214     .form-field select,
    1215     .form-field textarea {
    1216         width: 99%;
    1217     }
    1218 
    1219     .form-wrap .form-field {
    1220         padding:0;
    1221     }
    1222 
    1223     /* users */
    1224     #profile-page .form-table textarea {
    1225         max-width: 400px;
    1226         width: auto;
    1227     }
    12281208
    12291209    /* New Password */
     
    12611241}
    12621242
     1243@media only screen and (max-width: 768px) {
     1244    .form-field input[type="text"],
     1245    .form-field input[type="email"],
     1246    .form-field input[type="password"],
     1247    .form-field select,
     1248    .form-field textarea {
     1249        width: 99%;
     1250    }
     1251
     1252    .form-wrap .form-field {
     1253        padding:0;
     1254    }
     1255
     1256    /* users */
     1257    #profile-page .form-table textarea {
     1258        max-width: 400px;
     1259        width: auto;
     1260    }
     1261}
     1262
    12631263@media only screen and (max-height: 480px) {
    12641264    /*  Request Credentials */
Note: See TracChangeset for help on using the changeset viewer.