RTL fixes for credits.php. fixes #17602

git-svn-id: http://svn.automattic.com/wordpress/trunk@18149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2011-06-05 15:09:44 +00:00
parent a9e78ba4a6
commit 741a724b53
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 } ?>