Twenty Twenty-One: Resolves bug on primary navigation.

The primary navigation was stuck in a vertical list when resize. This resolves that with positioning.

Props nek285, mukesh27.
Fixes #52663.

Built from https://develop.svn.wordpress.org/trunk@58629


git-svn-id: http://core.svn.wordpress.org/trunk@58058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Tammie Lister 2024-07-02 20:36:17 +00:00
parent 8d260fe6ed
commit 98148173c6
5 changed files with 5 additions and 5 deletions

View File

@ -5167,7 +5167,7 @@ h1.page-title {
} }
.primary-navigation-open .primary-navigation > .primary-menu-container { .primary-navigation-open .primary-navigation > .primary-menu-container {
position: absolute; position: relative;
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
transform: translateY(0); transform: translateY(0);

View File

@ -143,7 +143,7 @@
} }
> .primary-menu-container { > .primary-menu-container {
position: absolute; position: relative;
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
transform: translateY(0); transform: translateY(0);

View File

@ -4661,7 +4661,7 @@ h1.page-title {
} }
.primary-navigation-open .primary-navigation > .primary-menu-container { .primary-navigation-open .primary-navigation > .primary-menu-container {
position: absolute; position: relative;
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
transform: translateY(0); transform: translateY(0);

View File

@ -4681,7 +4681,7 @@ h1.page-title {
} }
.primary-navigation-open .primary-navigation > .primary-menu-container { .primary-navigation-open .primary-navigation > .primary-menu-container {
position: absolute; position: relative;
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
transform: translateY(0); transform: translateY(0);

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.7-alpha-58627'; $wp_version = '6.7-alpha-58629';
/** /**
* 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.