Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Use the <header> element for the checkout header #11222

Merged
merged 2 commits into from
Oct 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions templates/parts/checkout-header.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!-- wp:group {"layout":{"type":"constrained"}} -->
<div class="wp-block-group">
<!-- wp:group {"tagName":"header","area":"header","metadata":{"name":"Checkout Header"},"layout":{"type":"constrained"}} -->
<header class="wp-block-group">
<!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"bottom":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
<div class="wp-block-group alignwide" style="padding-bottom:var(--wp--preset--spacing--40)">
<!-- wp:site-title {"level":0} /-->
</div>
<!-- /wp:group -->
</div>
<!-- /wp:group -->
</header>
<!-- /wp:group -->
2 changes: 1 addition & 1 deletion templates/templates/blockified/page-checkout.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<!-- wp:post-content {"align":"wide"} /-->
<!-- /wp:woocommerce/page-content-wrapper -->
</div>
<!-- /wp:group -->
<!-- /wp:group -->
2 changes: 1 addition & 1 deletion templates/templates/page-checkout.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
<!-- wp:post-content {"align":"wide"} /-->
<!-- /wp:woocommerce/page-content-wrapper -->
</div>
<!-- /wp:group -->
<!-- /wp:group -->
Loading