mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Editor: Limit scope of resizable menu container CSS.
The CSS to make menu item containers resizable in the admin menu editor was too broadly scoped, and caused classic editor metaboxes to have unconstrained height. Limit the scope of the CSS changes to only impact menu item containers. Props neotrope, sabernhardt, joedolson. Fixes #61662. Built from https://develop.svn.wordpress.org/trunk@58747 git-svn-id: http://core.svn.wordpress.org/trunk@58149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
51d8a8ea62
commit
46485f9db4
@ -1272,23 +1272,13 @@ label.post-format-icon {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.categorydiv,
|
|
||||||
.customlinkdiv,
|
|
||||||
.posttypediv,
|
|
||||||
.taxonomydiv {
|
|
||||||
max-height: inherit;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wp-tab-panel,
|
.wp-tab-panel,
|
||||||
.categorydiv div.tabs-panel,
|
.categorydiv div.tabs-panel,
|
||||||
.customlinkdiv div.tabs-panel,
|
.customlinkdiv div.tabs-panel,
|
||||||
.posttypediv div.tabs-panel,
|
.posttypediv div.tabs-panel,
|
||||||
.taxonomydiv div.tabs-panel {
|
.taxonomydiv div.tabs-panel {
|
||||||
min-height: 42px;
|
min-height: 42px;
|
||||||
/* Allow space for content after tab panels in nav menu editor. */
|
max-height: 200px;
|
||||||
max-height: calc( 100% - 75px );
|
|
||||||
height: 100%;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 0 0.9em;
|
padding: 0 0.9em;
|
||||||
border: solid 1px #dcdcde;
|
border: solid 1px #dcdcde;
|
||||||
|
2
wp-admin/css/edit-rtl.min.css
vendored
2
wp-admin/css/edit-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1271,23 +1271,13 @@ label.post-format-icon {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.categorydiv,
|
|
||||||
.customlinkdiv,
|
|
||||||
.posttypediv,
|
|
||||||
.taxonomydiv {
|
|
||||||
max-height: inherit;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wp-tab-panel,
|
.wp-tab-panel,
|
||||||
.categorydiv div.tabs-panel,
|
.categorydiv div.tabs-panel,
|
||||||
.customlinkdiv div.tabs-panel,
|
.customlinkdiv div.tabs-panel,
|
||||||
.posttypediv div.tabs-panel,
|
.posttypediv div.tabs-panel,
|
||||||
.taxonomydiv div.tabs-panel {
|
.taxonomydiv div.tabs-panel {
|
||||||
min-height: 42px;
|
min-height: 42px;
|
||||||
/* Allow space for content after tab panels in nav menu editor. */
|
max-height: 200px;
|
||||||
max-height: calc( 100% - 75px );
|
|
||||||
height: 100%;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
padding: 0 0.9em;
|
padding: 0 0.9em;
|
||||||
border: solid 1px #dcdcde;
|
border: solid 1px #dcdcde;
|
||||||
|
2
wp-admin/css/edit.min.css
vendored
2
wp-admin/css/edit.min.css
vendored
File diff suppressed because one or more lines are too long
@ -54,6 +54,24 @@ ul.add-menu-item-tabs li {
|
|||||||
max-height: inherit;
|
max-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#menu-settings-column .categorydiv,
|
||||||
|
#menu-settings-column .customlinkdiv,
|
||||||
|
#menu-settings-column .posttypediv,
|
||||||
|
#menu-settings-column .taxonomydiv {
|
||||||
|
max-height: inherit;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-settings-column .wp-tab-panel,
|
||||||
|
#menu-settings-column .categorydiv div.tabs-panel,
|
||||||
|
#menu-settings-column .customlinkdiv div.tabs-panel,
|
||||||
|
#menu-settings-column .posttypediv div.tabs-panel,
|
||||||
|
#menu-settings-column .taxonomydiv div.tabs-panel {
|
||||||
|
/* Allow space for content after tab panels in nav menu editor. */
|
||||||
|
max-height: calc( 100% - 75px );
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.metabox-holder-disabled .postbox,
|
.metabox-holder-disabled .postbox,
|
||||||
.metabox-holder-disabled .accordion-section-content,
|
.metabox-holder-disabled .accordion-section-content,
|
||||||
.metabox-holder-disabled .accordion-section-title {
|
.metabox-holder-disabled .accordion-section-title {
|
||||||
|
2
wp-admin/css/nav-menus-rtl.min.css
vendored
2
wp-admin/css/nav-menus-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -53,6 +53,24 @@ ul.add-menu-item-tabs li {
|
|||||||
max-height: inherit;
|
max-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#menu-settings-column .categorydiv,
|
||||||
|
#menu-settings-column .customlinkdiv,
|
||||||
|
#menu-settings-column .posttypediv,
|
||||||
|
#menu-settings-column .taxonomydiv {
|
||||||
|
max-height: inherit;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#menu-settings-column .wp-tab-panel,
|
||||||
|
#menu-settings-column .categorydiv div.tabs-panel,
|
||||||
|
#menu-settings-column .customlinkdiv div.tabs-panel,
|
||||||
|
#menu-settings-column .posttypediv div.tabs-panel,
|
||||||
|
#menu-settings-column .taxonomydiv div.tabs-panel {
|
||||||
|
/* Allow space for content after tab panels in nav menu editor. */
|
||||||
|
max-height: calc( 100% - 75px );
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.metabox-holder-disabled .postbox,
|
.metabox-holder-disabled .postbox,
|
||||||
.metabox-holder-disabled .accordion-section-content,
|
.metabox-holder-disabled .accordion-section-content,
|
||||||
.metabox-holder-disabled .accordion-section-title {
|
.metabox-holder-disabled .accordion-section-title {
|
||||||
|
2
wp-admin/css/nav-menus.min.css
vendored
2
wp-admin/css/nav-menus.min.css
vendored
File diff suppressed because one or more lines are too long
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.7-alpha-58745';
|
$wp_version = '6.7-alpha-58747';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user