Skip to content

Commit

Permalink
Fix stylelint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
khleomix committed May 24, 2024
1 parent 05b6d82 commit 31ccf3e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
11 changes: 10 additions & 1 deletion assets/scss/blocks/core/group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,16 @@
&.wp-block-group-is-layout-constrained {
&.alignfull {
> :where(
[class*='wp-block-']:not(.alignfull):not([class*='__']), p, h1, h2, h3, h4, h5, h6, ul, ol
[class*='wp-block-']:not(.alignfull):not([class*='__']),
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol
) {
padding-left: var(
--wp--style--root--padding-left
Expand Down
7 changes: 5 additions & 2 deletions assets/scss/blocks/core/navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,8 @@
display: none !important; /* stylelint-disable-line declaration-no-important */
}
.wp-block-navigation__responsive-container:not(.hidden-by-default):not(
.is-menu-open) {
.is-menu-open
) {
background-color: inherit;
display: block !important; /* stylelint-disable-line declaration-no-important */
position: relative;
Expand All @@ -162,7 +163,9 @@
display: flex;
}

.wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
.wp-block-navigation__responsive-container:not(.hidden-by-default):not(
.is-menu-open
) {
display: none;
}
}

0 comments on commit 31ccf3e

Please sign in to comment.