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

git-svn-id: http://svn.automattic.com/wordpress/trunk@11526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-06-06 10:01:04 +00:00
parent d35438efe3
commit 52e86803d1
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;
}