CSS fix for vertical misalignment in user-edit.php, props demetris, fixes #10036

git-svn-id: https://develop.svn.wordpress.org/trunk@11526 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-06-06 10:01:04 +00:00
parent 0e475b2e29
commit 006d1299c7
2 changed files with 3 additions and 2 deletions

View File

@ -167,7 +167,7 @@ foreach ( $_wp_admin_css_colors as $color => $color_info ): ?>
<?php if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?>
<tr>
<th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th>
<td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( !empty($profileuser->comment_shortcuts) ) checked('true', $profileuser->comment_shortcuts); ?> /> <?php _e('Enable keyboard shortcuts for comment moderation. <a href="http://codex.wordpress.org/Keyboard_Shortcuts">More information</a>'); ?></label></td>
<td><label for="comment_shortcuts"><input type="checkbox" name="comment_shortcuts" id="comment_shortcuts" value="true" <?php if ( !empty($profileuser->comment_shortcuts) ) checked('true', $profileuser->comment_shortcuts); ?> /> <?php _e('Enable keyboard shortcuts for comment moderation.'); ?></label> <?php _e('<a href="http://codex.wordpress.org/Keyboard_Shortcuts">More information</a>'); ?></td>
</tr>
<?php
endif;

View File

@ -3276,6 +3276,7 @@ p.popular-tags a {
margin: 0 5px;
}
label {
label,
#your-profile label + a {
vertical-align: middle;
}