Skip to content

Commit

Permalink
Update taxonomy templates so Legacy Template blocks don't take all av…
Browse files Browse the repository at this point in the history
…ailable width (woocommerce#5105)

* Update taxonomy templates so Legacy Template blocks don't take all available width

* Add closing comments for Group block

Co-authored-by: Michael P. Pfeiffer <[email protected]>

Co-authored-by: Michael P. Pfeiffer <[email protected]>
  • Loading branch information
2 people authored and jonny-bull committed Dec 16, 2021
1 parent 33f7d50 commit 54d42c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion templates/block-templates/taxonomy-product_cat.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:woocommerce/legacy-template {"template":"taxonomy-product_cat"} /-->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group"><!-- wp:woocommerce/legacy-template {"template":"taxonomy-product_cat"} /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer"} /-->
4 changes: 3 additions & 1 deletion templates/block-templates/taxonomy-product_tag.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- wp:template-part {"slug":"header"} /-->
<!-- wp:woocommerce/legacy-template {"template":"taxonomy-product_tag"} /-->
<!-- wp:group {"layout":{"inherit":true}} -->
<div class="wp-block-group"><!-- wp:woocommerce/legacy-template {"template":"taxonomy-product_tag"} /--></div>
<!-- /wp:group -->
<!-- wp:template-part {"slug":"footer"} /-->

0 comments on commit 54d42c1

Please sign in to comment.