- Remove the !important styles that were overriding the widget width when expanded.
- Fix missing border-bottom from widgets when dragged and expanded.
Props shaunandrews, see #26117.
Built from https://develop.svn.wordpress.org/trunk@26275


git-svn-id: http://core.svn.wordpress.org/trunk@26180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2013-11-19 23:47:10 +00:00
parent a9a62622bc
commit 8de3d7d15e
6 changed files with 5 additions and 22 deletions

View File

@ -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-right: 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;

File diff suppressed because one or more lines are too long

View File

@ -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;

File diff suppressed because one or more lines are too long

View File

@ -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);

File diff suppressed because one or more lines are too long