Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
Update Title and Button Header pattern (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjellr authored Oct 13, 2021
1 parent 26857c4 commit c34addc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion inc/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ function twentytwentytwo_register_block_patterns() {
'header-default',
'header-with-tagline',
'header-text-only-with-stacked-tagline',
'header-title-and-button',
'header-text-only',
'header-text-only-with-tagline',
'header-text-only-all-caps-with-tagline',
Expand All @@ -50,7 +51,6 @@ function twentytwentytwo_register_block_patterns() {
'header-centered-logo',
'header-centered-logo-in-navigation',
'header-centered-title-navigation-social',
'header-title-and-button',
'query-default',
'query-text-grid',
'query-simple-blog',
Expand Down
2 changes: 1 addition & 1 deletion inc/patterns/header-title-and-button.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
'content' => '<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"8rem","top":"max(1.25rem, 5vw)"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide" style="padding-top:max(1.25rem, 5vw);padding-bottom:8rem"><!-- wp:site-title {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}},"typography":{"fontStyle":"normal","fontWeight":"700"}}} /-->
<!-- wp:navigation {"itemsJustification":"right","isResponsive":true} -->
<!-- wp:navigation {"itemsJustification":"right","overlayMenu":"always"} -->
<!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
<!-- /wp:navigation --></div>
<!-- /wp:group -->',
Expand Down

0 comments on commit c34addc

Please sign in to comment.