Widgets:
- 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. git-svn-id: https://develop.svn.wordpress.org/trunk@26275 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
db8a601bf9
commit
e45ca7cc89
@ -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;
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user