mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
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. 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:
parent
a9a62622bc
commit
8de3d7d15e
@ -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;
|
||||
|
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
|
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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);
|
||||
|
2
wp-admin/js/widgets.min.js
vendored
2
wp-admin/js/widgets.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user