Ticket #34539: 34539.3.diff
File 34539.3.diff, 3.4 KB (added by , 6 years ago) |
---|
-
src/wp-admin/css/common.css
3737 3737 } 3738 3738 } 3739 3739 3740 @media screen and (max-width: 375px) { 3741 .mobile-clear-both { 3742 clear: both; 3743 display: block; 3744 padding-top: 5px; 3745 padding-bottom: 5px; 3746 } 3747 } 3748 3740 3749 @media screen and (max-width: 320px) { 3741 3750 /* Prevent default center alignment and larger font for the Right Now widget when 3742 3751 the network dashboard is viewed on a small mobile device. */ -
src/wp-admin/css/forms.css
1220 1220 input[type="number"].small-text, 1221 1221 .form-table input[type="text"].small-text { 1222 1222 width: auto; 1223 max-width: 55px;1223 max-width: 70px; 1224 1224 display: inline; 1225 1225 padding: 3px 6px; 1226 1226 margin: 0 3px; -
src/wp-admin/options-media.php
52 52 <tr> 53 53 <th scope="row"><?php _e('Thumbnail size') ?></th> 54 54 <td> 55 <span class="mobile-clear-both"> 55 56 <label for="thumbnail_size_w"><?php _e('Width'); ?></label> 56 57 <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" /> 58 </span> 59 <span class="mobile-clear-both"> 57 60 <label for="thumbnail_size_h"><?php _e('Height'); ?></label> 58 61 <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 /> 62 </span> 59 63 <input name="thumbnail_crop" type="checkbox" id="thumbnail_crop" value="1" <?php checked('1', get_option('thumbnail_crop')); ?>/> 60 64 <label for="thumbnail_crop"><?php _e('Crop thumbnail to exact dimensions (normally thumbnails are proportional)'); ?></label> 61 65 </td> … … 64 68 <tr> 65 69 <th scope="row"><?php _e('Medium size') ?></th> 66 70 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Medium size'); ?></span></legend> 71 <span class="mobile-clear-both"> 67 72 <label for="medium_size_w"><?php _e('Max Width'); ?></label> 68 73 <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" /> 74 </span> 75 <span class="mobile-clear-both"> 69 76 <label for="medium_size_h"><?php _e('Max Height'); ?></label> 70 77 <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" /> 78 </span> 71 79 </fieldset></td> 72 80 </tr> 73 81 … … 74 82 <tr> 75 83 <th scope="row"><?php _e('Large size') ?></th> 76 84 <td><fieldset><legend class="screen-reader-text"><span><?php _e('Large size'); ?></span></legend> 85 <span class="mobile-clear-both"> 77 86 <label for="large_size_w"><?php _e('Max Width'); ?></label> 78 87 <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" /> 88 </span> 89 <span class="mobile-clear-both"> 79 90 <label for="large_size_h"><?php _e('Max Height'); ?></label> 80 91 <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" /> 92 </span> 81 93 </fieldset></td> 82 94 </tr> 83 95