Add min-height and a black border to the Background Image preview. Min-height to allow for no image present, black border to show preview area when no image or colour is available. See #12186

git-svn-id: http://svn.automattic.com/wordpress/trunk@13766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
dd32 2010-03-19 09:37:36 +00:00
parent 0c47af2d38
commit 58392ee495
3 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

View File

@ -3654,16 +3654,16 @@ span.imgedit-scale-warn {
padding-right:10px; padding-right:10px;
width:80px; width:80px;
} }
div#custom-background-image {
min-height: 100px;
border: 1px solid #000;
}
div#custom-background-image img { div#custom-background-image img {
max-width: 400px; max-width: 400px;
max-height: 200px; max-height: 200px;
} }
div#custom-background-image p.submit {
display: inline;
}
/* Custom Header */ /* Custom Header */
table#available-headers td { table#available-headers td {

View File

@ -445,7 +445,7 @@ function wp_default_styles( &$styles ) {
// all colors stylesheets need to have the same query strings (cache manifest compat) // all colors stylesheets need to have the same query strings (cache manifest compat)
$colors_version = '20100217'; $colors_version = '20100217';
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100318' ); $styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20100319' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20100219' ); $styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20100219' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' ); $styles->add_data( 'ie', 'conditional', 'lte IE 7' );