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:
parent
25441f33f8
commit
2818d14fa8
|
@ -6793,7 +6793,7 @@ h1.page-title {
|
||||||
width: inherit;
|
width: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary-navigation > div > .menu-wrapper li:last-child() {
|
.primary-navigation > div > .menu-wrapper li:last-child {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -7049,7 +7049,7 @@ h1.page-title {
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 481px) {
|
@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;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -222,7 +222,7 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: inherit;
|
width: inherit;
|
||||||
|
|
||||||
&:last-child() {
|
&:last-child {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -456,7 +456,7 @@
|
||||||
|
|
||||||
@include media(mobile-only) {
|
@include media(mobile-only) {
|
||||||
|
|
||||||
&:last-child() {
|
&:last-child {
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4855,7 +4855,7 @@ h1.page-title {
|
||||||
width: inherit;
|
width: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary-navigation > div > .menu-wrapper li:last-child() {
|
.primary-navigation > div > .menu-wrapper li:last-child {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5062,7 +5062,7 @@ h1.page-title {
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 481px) {
|
@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;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4875,7 +4875,7 @@ h1.page-title {
|
||||||
width: inherit;
|
width: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary-navigation > div > .menu-wrapper li:last-child() {
|
.primary-navigation > div > .menu-wrapper li:last-child {
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -5098,7 +5098,7 @@ h1.page-title {
|
||||||
}
|
}
|
||||||
@media only screen and (max-width: 481px) {
|
@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;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue