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:
joedolson 2024-05-30 16:43:17 +00:00
parent 568d9ad5a2
commit 8f7d5cf1ca
9 changed files with 33 additions and 7 deletions

View File

@ -1272,13 +1272,23 @@ 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;
max-height: 200px;
/* Allow space for content after tab panels in nav menu editor. */
max-height: calc( 100% - 75px );
height: 100%;
overflow: auto;
padding: 0 0.9em;
border: solid 1px #dcdcde;

File diff suppressed because one or more lines are too long

View File

@ -1271,13 +1271,23 @@ 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;
max-height: 200px;
/* Allow space for content after tab panels in nav menu editor. */
max-height: calc( 100% - 75px );
height: 100%;
overflow: auto;
padding: 0 0.9em;
border: solid 1px #dcdcde;

File diff suppressed because one or more lines are too long

View File

@ -22,6 +22,7 @@ ul.add-menu-item-tabs li {
#nav-menu-meta .accordion-section-content {
padding: 18px 13px;
resize: vertical;
}
#nav-menu-meta .button-controls {
@ -49,6 +50,8 @@ ul.add-menu-item-tabs li {
#menu-settings-column .inside {
clear: both;
margin: 10px 0 0;
height: 100%;
max-height: inherit;
}
.metabox-holder-disabled .postbox,

File diff suppressed because one or more lines are too long

View File

@ -21,6 +21,7 @@ ul.add-menu-item-tabs li {
#nav-menu-meta .accordion-section-content {
padding: 18px 13px;
resize: vertical;
}
#nav-menu-meta .button-controls {
@ -48,6 +49,8 @@ ul.add-menu-item-tabs li {
#menu-settings-column .inside {
clear: both;
margin: 10px 0 0;
height: 100%;
max-height: inherit;
}
.metabox-holder-disabled .postbox,

File diff suppressed because one or more lines are too long

View File

@ -16,7 +16,7 @@
*
* @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.