Changeset 41836
- Timestamp:
- 10/12/2017 03:47:29 AM (7 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/common.css
r41808 r41836 3717 3717 } 3718 3718 3719 .options-media-php br { 3720 display: none; 3721 } 3722 3723 @media screen and (max-width: 375px) { 3724 .options-media-php input[type="number"][name*="_size_"] { 3725 margin: 5px 0; 3726 } 3727 .options-media-php label[for*="_size_h"]:before { 3728 content: ''; 3729 display: block; 3730 } 3731 .options-media-php br { 3732 display: block; 3733 } 3734 } 3735 3719 3736 @media screen and (max-width: 320px) { 3720 3737 /* Prevent default center alignment and larger font for the Right Now widget when -
trunk/src/wp-admin/css/forms.css
r41182 r41836 1221 1221 .form-table input[type="text"].small-text { 1222 1222 width: auto; 1223 max-width: 55px;1223 max-width: 4.375em; /* 70px, enough for 4 digits to fit comfortably */ 1224 1224 display: inline; 1225 1225 padding: 3px 6px; -
trunk/src/wp-admin/options-media.php
r40823 r41836 56 56 <input name="thumbnail_size_w" type="number" step="1" min="0" id="thumbnail_size_w" value="<?php form_option('thumbnail_size_w'); ?>" class="small-text" /> 57 57 <label for="thumbnail_size_h"><?php _e('Height'); ?></label> 58 <input name="thumbnail_size_h" type="number" step="1" min="0" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" class="small-text" /> <br />59 < input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/>60 <label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label> 58 <input name="thumbnail_size_h" type="number" step="1" min="0" id="thumbnail_size_h" value="<?php form_option('thumbnail_size_h'); ?>" class="small-text" /> 59 <p><input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/> 60 <label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label></p> 61 61 </td> 62 62 </tr> … … 67 67 <label for="medium_size_w"><?php _e('Max Width'); ?></label> 68 68 <input name="medium_size_w" type="number" step="1" min="0" id="medium_size_w" value="<?php form_option('medium_size_w'); ?>" class="small-text" /> 69 <br /> 69 70 <label for="medium_size_h"><?php _e('Max Height'); ?></label> 70 71 <input name="medium_size_h" type="number" step="1" min="0" id="medium_size_h" value="<?php form_option('medium_size_h'); ?>" class="small-text" /> … … 77 78 <label for="large_size_w"><?php _e('Max Width'); ?></label> 78 79 <input name="large_size_w" type="number" step="1" min="0" id="large_size_w" value="<?php form_option('large_size_w'); ?>" class="small-text" /> 80 <br /> 79 81 <label for="large_size_h"><?php _e('Max Height'); ?></label> 80 82 <input name="large_size_h" type="number" step="1" min="0" id="large_size_h" value="<?php form_option('large_size_h'); ?>" class="small-text" />
Note: See TracChangeset
for help on using the changeset viewer.