Widgets: ensure the "drop zone" matches the height of the Inactive Widgets container, fixes #21250

git-svn-id: http://core.svn.wordpress.org/trunk@21270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2012-07-13 01:47:16 +00:00
parent 1243f0f34c
commit 618fdf1535
3 changed files with 8 additions and 3 deletions

View File

@ -258,7 +258,6 @@ a.button {
.widgets-sortables,
#dragHelper,
.widget .widget-top,
.widget,
.widget-control-actions,
.tagchecklist,
#col-container,
@ -379,6 +378,11 @@ table.ie-fixed {
position: relative;
}
.inactive-sidebar .widget {
display: block;
float: left;
}
#wpcontent .button-primary-disabled {
color: #9FD0D5;
background: #298CBA;

View File

@ -7756,7 +7756,7 @@ div.widget-liquid-right {
.inactive-sidebar .widget {
margin: 0 10px 20px;
float: left;
display: inline-block;
}
div.sidebar-name h3 {
@ -7918,6 +7918,7 @@ a.widget-action {
.widget-title h4 {
margin: 0;
padding-bottom: 0.2em;
line-height: 1;
overflow: hidden;
white-space: nowrap;

View File

@ -365,7 +365,7 @@ foreach ( $wp_registered_sidebars as $sidebar => $registered_sidebar ) {
</div>
<div class="widget-holder inactive">
<?php wp_list_widget_controls( $registered_sidebar['id'] ); ?>
<br class="clear" />
<div class="clear"></div>
</div>
</div>
<?php