Widgets: adjust placeholder size to match the widget size. Prevents the widgets from jumping when one is dragged. See #25858.

git-svn-id: https://develop.svn.wordpress.org/trunk@26296 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2013-11-20 23:28:06 +00:00
parent 6174ec6e56
commit d0a8ff70ec

View File

@ -10025,13 +10025,17 @@ input.newtag:focus ~ div.taghint {
.widget-placeholder { .widget-placeholder {
border: 1px dashed #bbb; border: 1px dashed #bbb;
margin: 10px 0; margin: 10px 0;
height: 50px; height: 45px;
width: 100%; width: 100%;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
} }
#widgets-right .widget-placeholder {
margin-top: 0;
}
/* Widget Sidebars */ /* Widget Sidebars */
.sidebar-name { .sidebar-name {
border: none; border: none;