Improve padding on admin menu submenus. see #18382.

git-svn-id: http://svn.automattic.com/wordpress/trunk@18947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
koopersmith 2011-10-11 21:52:40 +00:00
parent bd56b8dbfc
commit d60869e490
3 changed files with 6 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1765,6 +1765,10 @@ body.no-js #adminmenu .wp-menu-toggle,
border-style: solid; border-style: solid;
} }
#adminmenu .wp-submenu ul {
padding: 4px 0;
}
#adminmenu .wp-submenu a { #adminmenu .wp-submenu a {
margin: 0; margin: 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(), '20111011b' ); $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111011c' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111010' ); $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111010' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );