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: https://develop.svn.wordpress.org/trunk@13766 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
2a77254f33
commit
ef886dfdfe
File diff suppressed because one or more lines are too long
@ -3654,16 +3654,16 @@ span.imgedit-scale-warn {
|
||||
padding-right:10px;
|
||||
width:80px;
|
||||
}
|
||||
div#custom-background-image {
|
||||
min-height: 100px;
|
||||
border: 1px solid #000;
|
||||
}
|
||||
|
||||
div#custom-background-image img {
|
||||
max-width: 400px;
|
||||
max-height: 200px;
|
||||
}
|
||||
|
||||
div#custom-background-image p.submit {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
/* Custom Header */
|
||||
|
||||
table#available-headers td {
|
||||
|
@ -445,7 +445,7 @@ function wp_default_styles( &$styles ) {
|
||||
// all colors stylesheets need to have the same query strings (cache manifest compat)
|
||||
$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_data( 'ie', 'conditional', 'lte IE 7' );
|
||||
|
Loading…
Reference in New Issue
Block a user