Skip to content

Commit

Permalink
Use html instead of space for calculated height
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Sep 7, 2023
1 parent ce49145 commit caee61e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

<!-- wp:wporg/local-navigation-bar {"backgroundColor":"charcoal-2","style":{"spacing":{"padding":{"right":"var:preset|spacing|60","left":"var:preset|spacing|60","top":"18px","bottom":"18px"}},"position":{"type":"sticky"},"border":{"top":{"color":"var:preset|color|opacities-white-10","width":"1px"}}}} -->

<!-- wp:spacer {"height:"calc( var(--wp--custom--body--small--typography--line-height) * var(--wp--preset--font-size--small) )","style":{"layout":{"flexSize":null,"selfStretch":"fill"}}} -->
<div aria-hidden="true" class="wp-block-spacer" style="height: calc( var(--wp--custom--body--small--typography--line-height) * var(--wp--preset--font-size--small) )"></div>
<!-- /wp:spacer -->
<!-- wp:html -->
<div style="height:calc(var(--wp--custom--body--small--typography--line-height) * var(--wp--preset--font-size--small));" aria-hidden="true"></div>
<!-- /wp:html -->

<!-- wp:navigation {"menuSlug":"documentation","hasIcon":false,"layout":{"type":"flex","orientation":"horizontal"},"fontSize":"small"} /-->

Expand Down

0 comments on commit caee61e

Please sign in to comment.