Use the <header> element for the checkout header (https://github.com/woocommerce/woocommerce-blocks/pull/11222)

Co-authored-by: Seghir Nadir <nadir.seghir@gmail.com>
This commit is contained in:
Paulo Arromba 2023-10-17 14:02:10 +01:00 committed by GitHub
parent 795242af1a
commit 9e9ebc5039
1 changed files with 4 additions and 4 deletions

View File

@ -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 -->