Twenty Twenty-One: Remove extra brackets from `:last-child` CSS pseudo-class.

Props munyagu, mukesh27, activecoder.
Fixes #52176.
Built from https://develop.svn.wordpress.org/trunk@49914


git-svn-id: http://core.svn.wordpress.org/trunk@49613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-12-31 07:38:06 +00:00
parent 25441f33f8
commit 2818d14fa8
5 changed files with 9 additions and 9 deletions

View File

@ -6793,7 +6793,7 @@ h1.page-title {
width: inherit;
}
.primary-navigation > div > .menu-wrapper li:last-child() {
.primary-navigation > div > .menu-wrapper li:last-child {
margin-right: 0;
}
}
@ -7049,7 +7049,7 @@ h1.page-title {
}
@media only screen and (max-width: 481px) {
.primary-navigation .sub-menu .menu-item:last-child() {
.primary-navigation .sub-menu .menu-item:last-child {
margin-bottom: 0;
}
}

View File

@ -222,7 +222,7 @@
margin: 0;
width: inherit;
&:last-child() {
&:last-child {
margin-right: 0;
}
}
@ -456,7 +456,7 @@
@include media(mobile-only) {
&:last-child() {
&:last-child {
margin-bottom: 0;
}

View File

@ -4855,7 +4855,7 @@ h1.page-title {
width: inherit;
}
.primary-navigation > div > .menu-wrapper li:last-child() {
.primary-navigation > div > .menu-wrapper li:last-child {
margin-left: 0;
}
}
@ -5062,7 +5062,7 @@ h1.page-title {
}
@media only screen and (max-width: 481px) {
.primary-navigation .sub-menu .menu-item:last-child() {
.primary-navigation .sub-menu .menu-item:last-child {
margin-bottom: 0;
}
}

View File

@ -4875,7 +4875,7 @@ h1.page-title {
width: inherit;
}
.primary-navigation > div > .menu-wrapper li:last-child() {
.primary-navigation > div > .menu-wrapper li:last-child {
margin-right: 0;
}
}
@ -5098,7 +5098,7 @@ h1.page-title {
}
@media only screen and (max-width: 481px) {
.primary-navigation .sub-menu .menu-item:last-child() {
.primary-navigation .sub-menu .menu-item:last-child {
margin-bottom: 0;
}
}

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.7-alpha-49913';
$wp_version = '5.7-alpha-49914';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.