Skip to content

Commit

Permalink
Add CSS for row-gap
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan authored and jffng committed Mar 11, 2022
1 parent d6a3f63 commit d6a70f1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion archeo/inc/patterns/footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'blockTypes' => array( 'core/template-part/footer' ),
'content' => '<!-- wp:group {"layout":{"type":"flex","justifyContent":"space-between"},"style":{"spacing":{"padding":{"bottom":"var(--wp--custom--spacing--medium)","top":"var(--wp--custom--spacing--medium)"}}}} -->
<div class="wp-block-group" style="padding-top: var(--wp--custom--spacing--medium); padding-bottom: var(--wp--custom--spacing--medium);">
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left"},"overlayMenu":"never","style":{"typography":{"fontStyle":"normal"},"spacing":{"blockGap":"50px"}},"fontSize":"small"} /-->
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"left"},"overlayMenu":"never","className":"site-footer","style":{"typography":{"fontStyle":"normal"},"spacing":{"blockGap":"50px"}},"fontSize":"small"} /-->
<!-- wp:paragraph {"align":"left","fontSize":"small","style":{"spacing":{"margin":{"top":0}}}} -->
<p class="has-small-font-size" style="margin-top: 0;">' .
Expand Down
7 changes: 7 additions & 0 deletions archeo/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -224,3 +224,10 @@ body > .is-root-container > .wp-block-template-part > .wp-block-cover,
height: auto;
max-width: 100%;
}

/*
* Needed until https://github.com/WordPress/gutenberg/issues/34529 is fixed.
*/
.site-footer {
row-gap: 0.5rem !important;
}

0 comments on commit d6a70f1

Please sign in to comment.