diff --git a/src/wp-admin/css/wp-admin.css b/src/wp-admin/css/wp-admin.css index d84d778061..6b356f7260 100644 --- a/src/wp-admin/css/wp-admin.css +++ b/src/wp-admin/css/wp-admin.css @@ -10289,9 +10289,7 @@ div#widgets-right .widgets-holder-wrap { div#widgets-right .widget { margin: 0 auto; border: 1px solid #dedede !important; /* ln 991 in colors-fresh.css */ - border-bottom: none !important; /* ln 991 in colors-fresh.css */ - margin-left: 0 !important; /* Wide format widgets are the devil */ - width: 100% !important; /* Wide format widgets are the devil */ + margin-bottom: -1px; } div#widgets-right .sidebar-description { @@ -10311,7 +10309,6 @@ div#widgets-right .sidebar-name .sidebar-name-arrow:before { top: 4px; } div#widgets-right .widget-top { - border-bottom: none; padding: 0; background: #f7f7f7; } @@ -10329,11 +10326,6 @@ div#widgets-right .widget-inside { border-top: 1px solid #dedede; } -/* The last widget has some additional borders */ -div#widgets-right .widget:last-child { - border-bottom: 1px solid #dedede !important; /* ln 991 in colors-fresh.css */ -} - div#widgets-right .widgets-sortables { min-height: 42px !important; /* Inline styles */ padding: 0 8px; diff --git a/src/wp-admin/js/widgets.js b/src/wp-admin/js/widgets.js index 6beba69ebc..52f5921f35 100644 --- a/src/wp-admin/js/widgets.js +++ b/src/wp-admin/js/widgets.js @@ -46,7 +46,6 @@ wpWidgets = { if ( inside.is(':hidden') ) { if ( w > 250 && inside.closest('div.widgets-sortables').length ) { - css.width = w + 30 + 'px'; if ( inside.closest('div.widget-liquid-right').length ) css[margin] = 235 - w + 'px'; widget.css(css);