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

Built from https://develop.svn.wordpress.org/trunk@26296


git-svn-id: http://core.svn.wordpress.org/trunk@26201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2013-11-20 23:29:09 +00:00
parent ef621a3c8b
commit 93faad2403
4 changed files with 12 additions and 4 deletions

View File

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

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long