Menus: Add `resize: vertical` to menu item selector panel.
Make the panels for selecting menu items to add to a panel resizable using the CSS `resize` property. This minor change makes it easier to select items to add on desktop devices, and has nominal impact on other interfaces. Props namith.jawahar, NekoJonez, jorbin, joen, joedolson. Fixes #60763. Built from https://develop.svn.wordpress.org/trunk@58256 git-svn-id: http://core.svn.wordpress.org/trunk@57719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
568d9ad5a2
commit
8f7d5cf1ca
|
@ -1272,13 +1272,23 @@ 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;
|
||||||
max-height: 200px;
|
/* Allow space for content after tab panels in nav menu editor. */
|
||||||
|
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;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1271,13 +1271,23 @@ 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;
|
||||||
max-height: 200px;
|
/* Allow space for content after tab panels in nav menu editor. */
|
||||||
|
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;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -22,6 +22,7 @@ ul.add-menu-item-tabs li {
|
||||||
|
|
||||||
#nav-menu-meta .accordion-section-content {
|
#nav-menu-meta .accordion-section-content {
|
||||||
padding: 18px 13px;
|
padding: 18px 13px;
|
||||||
|
resize: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav-menu-meta .button-controls {
|
#nav-menu-meta .button-controls {
|
||||||
|
@ -49,6 +50,8 @@ ul.add-menu-item-tabs li {
|
||||||
#menu-settings-column .inside {
|
#menu-settings-column .inside {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin: 10px 0 0;
|
margin: 10px 0 0;
|
||||||
|
height: 100%;
|
||||||
|
max-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.metabox-holder-disabled .postbox,
|
.metabox-holder-disabled .postbox,
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -21,6 +21,7 @@ ul.add-menu-item-tabs li {
|
||||||
|
|
||||||
#nav-menu-meta .accordion-section-content {
|
#nav-menu-meta .accordion-section-content {
|
||||||
padding: 18px 13px;
|
padding: 18px 13px;
|
||||||
|
resize: vertical;
|
||||||
}
|
}
|
||||||
|
|
||||||
#nav-menu-meta .button-controls {
|
#nav-menu-meta .button-controls {
|
||||||
|
@ -48,6 +49,8 @@ ul.add-menu-item-tabs li {
|
||||||
#menu-settings-column .inside {
|
#menu-settings-column .inside {
|
||||||
clear: both;
|
clear: both;
|
||||||
margin: 10px 0 0;
|
margin: 10px 0 0;
|
||||||
|
height: 100%;
|
||||||
|
max-height: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.metabox-holder-disabled .postbox,
|
.metabox-holder-disabled .postbox,
|
||||||
|
|
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.6-alpha-58252';
|
$wp_version = '6.6-alpha-58256';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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