Prevent sorting arrows improperly wrapping on narrow columns in .widefat, props SergeyBiryukov, #15993

git-svn-id: http://svn.automattic.com/wordpress/trunk@18875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2011-10-04 04:14:36 +00:00
parent bc6411bb52
commit 41429f32a9
3 changed files with 6 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -2311,6 +2311,7 @@ table.fixed {
height: 4px; height: 4px;
margin-top: 8px; margin-top: 8px;
margin-left: 7px; margin-left: 7px;
position: absolute;
background-image: url(../images/sort.gif); background-image: url(../images/sort.gif);
background-repeat: no-repeat; background-repeat: no-repeat;
} }
@ -2328,6 +2329,7 @@ th.sortable a,
th.sorted a { th.sorted a {
display: block; display: block;
overflow: hidden; overflow: hidden;
position: relative;
padding: 7px 7px 8px; padding: 7px 7px 8px;
} }
@ -2344,13 +2346,13 @@ th.sorted a span {
th.sorted.asc .sorting-indicator, th.sorted.asc .sorting-indicator,
th.desc:hover span.sorting-indicator { th.desc:hover span.sorting-indicator {
display: block; display: inline;
background-position: 0 0; background-position: 0 0;
} }
th.sorted.desc .sorting-indicator, th.sorted.desc .sorting-indicator,
th.asc:hover span.sorting-indicator { th.asc:hover span.sorting-indicator {
display: block; display: inline;
background-position: -7px 0; background-position: -7px 0;
} }

View File

@ -431,7 +431,7 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr // Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' ); $no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111003' ); $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111003a' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20110919' ); $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20110919' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );