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:
@@ -1271,23 +1271,13 @@ label.post-format-icon {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.categorydiv,
|
||||
.customlinkdiv,
|
||||
.posttypediv,
|
||||
.taxonomydiv {
|
||||
max-height: inherit;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.wp-tab-panel,
|
||||
.categorydiv div.tabs-panel,
|
||||
.customlinkdiv div.tabs-panel,
|
||||
.posttypediv div.tabs-panel,
|
||||
.taxonomydiv div.tabs-panel {
|
||||
min-height: 42px;
|
||||
/* Allow space for content after tab panels in nav menu editor. */
|
||||
max-height: calc( 100% - 75px );
|
||||
height: 100%;
|
||||
max-height: 200px;
|
||||
overflow: auto;
|
||||
padding: 0 0.9em;
|
||||
border: solid 1px #dcdcde;
|
||||
|
||||
Reference in New Issue
Block a user