Skip to content

Commit

Permalink
About: Remove custom padding from local navigation banner
Browse files Browse the repository at this point in the history
The Local Navigation banner sets its own padding, which the sites using this block should inherit from.

Fixes #444.
  • Loading branch information
ryelle committed Jun 24, 2024
1 parent 76742fe commit 99fed00
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

?>
<!-- wp:wporg/local-navigation-bar {"style":{"color":{"background":"#f0ede7"},"border":{"bottom":{"color":"var:preset|color|black-opacity-15","width":"1px"}},"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space","top":"16px","bottom":"16px"}},"position":{"type":"sticky"}},"textColor":"charcoal-1","fontSize":"small"} -->
<!-- wp:wporg/local-navigation-bar {"style":{"color":{"background":"#f0ede7"},"border":{"bottom":{"color":"var:preset|color|black-opacity-15","width":"1px"}},"position":{"type":"sticky"}},"textColor":"charcoal-1","fontSize":"small"} -->
<!-- wp:site-title {"level":0,"fontSize":"small","isLink":false} /-->

<!-- wp:navigation {"menuSlug":"about-home","textColor":"charcoal-1","icon":"menu","customOverlayBackgroundColor":"#f0ede7","layout":{"type":"flex","orientation":"horizontal"},"fontSize":"small","openSubmenusOnClick":true} /-->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*/

?>
<!-- wp:wporg/local-navigation-bar {"backgroundColor":"white","style":{"spacing":{"padding":{"right":"var:preset|spacing|edge-space","left":"var:preset|spacing|edge-space","top":"16px","bottom":"16px"}},"position":{"type":"sticky"},"border":{"top":{},"right":{},"bottom":{"color":"var:preset|color|light-grey-1","style":"solid","width":"1px"},"left":{}}},"textColor":"charcoal-1","fontSize":"small"} -->
<!-- wp:wporg/local-navigation-bar {"backgroundColor":"white","style":{"position":{"type":"sticky"},"border":{"top":{},"right":{},"bottom":{"color":"var:preset|color|light-grey-1","style":"solid","width":"1px"},"left":{}}},"textColor":"charcoal-1","fontSize":"small"} -->
<!-- wp:group {"style":{"spacing":{"blockGap":"0"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
<div class="wp-block-group">
<!-- wp:site-title {"level":0,"fontSize":"small"} /-->
Expand Down

0 comments on commit 99fed00

Please sign in to comment.