From d0a8ff70ec0a1c62d0fad96a1f9dccf96e01555f Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 20 Nov 2013 23:28:06 +0000 Subject: [PATCH] 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 --- src/wp-admin/css/wp-admin.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index 848b04b2e4..4d03f49ea1 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -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;