Skip to content

Commit

Permalink
Local Navigation: Add custom height for local-navigation-bar (#519)
Browse files Browse the repository at this point in the history
* Local Navigation: Add custom height for local-navigation-bar

* Remove padding as the height has been fixed
  • Loading branch information
renintw authored Nov 27, 2023
1 parent 7bae0a8 commit 2833d7d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mu-plugins/blocks/local-navigation-bar/postcss/style.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@

padding-right: var(--wp--preset--spacing--edge-space);
padding-left: var(--wp--preset--spacing--edge-space);
padding-top: 18px;
padding-bottom: 18px;

top: var(--wp-admin--admin-bar--height, 0);

Expand All @@ -16,6 +14,7 @@
}

.wp-block-wporg-local-navigation-bar {
height: var(--wp--custom--local-navigation-bar--spacing--height, 60px);

@media (min-width: 890px) {
& .global-header__wporg-logo-mark {
Expand Down

0 comments on commit 2833d7d

Please sign in to comment.