RTL fixes for credits.php. fixes #17602

git-svn-id: https://develop.svn.wordpress.org/trunk@18149 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-06-05 15:09:44 +00:00
parent 0d62cb9bfd
commit 6e01eb6221
1 changed files with 2 additions and 1 deletions

View File

@ -25,11 +25,12 @@ add_action( 'admin_head', '_wp_credits_add_css' );
function _wp_credits_add_css() { ?>
<style type="text/css">
h3.wp-people-group, h3.wp-props-group { clear: both; }
ul.wp-people-group { margin-bottom: 30px; float: left; clear: both; }
<?php if ( is_rtl() ) { ?>
ul.wp-people-group { margin-bottom: 30px; float: right; clear: both; }
li.wp-person { float: right; height: 70px; width: 220px; margin-left: 10px; }
li.wp-person img.gravatar { float: right; margin-left: 10px; margin-bottom: 10px; width: 60px; height: 60px }
<?php } else { ?>
ul.wp-people-group { margin-bottom: 30px; float: left; clear: both; }
li.wp-person { float: left; height: 70px; width: 220px; margin-right: 10px; }
li.wp-person img.gravatar { float: left; margin-right: 10px; margin-bottom: 10px; width: 60px; height: 60px }
<?php } ?>