Skip to content

Commit

Permalink
fix (scss) wp admin custom propverty
Browse files Browse the repository at this point in the history
  • Loading branch information
ptesei committed Oct 2, 2024
1 parent 1f0637e commit 74e6612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scss/03-base/_variables-css.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
*/
--wp-admin-bar-height: var(--wp-admin--admin-bar--height, 0rem);

body:not(.admin-bar) {
&:not(.admin-bar) {
--wp-admin-bar-height: 0rem; // for wp admin bar hider extension
}

Expand Down

0 comments on commit 74e6612

Please sign in to comment.