Skip to content

Commit 067ba8c

Browse files
committed
Twenty Twenty Two: Wraps Navigation block in row.
Now that the Blocks Hooks API is released in 6.4, you might want to insert blocks into header of the theme after the Navigation block. This wraps to allow this. Props tomjcafferkey, poena, shailu25. Fixes #60724. git-svn-id: https://develop.svn.wordpress.org/trunk@58004 602fd350-edb4-49c9-b593-d223f7449a82
1 parent f6747a3 commit 067ba8c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/wp-content/themes/twentytwentytwo/parts/header.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55

66
<!-- wp:site-title /--></div>
77
<!-- /wp:group -->
8-
8+
<!-- wp:group {"layout":{"type":"flex","flexWrap":"wrap","justifyContent":"left"}} -->
9+
<div class="wp-block-group">
910
<!-- wp:navigation {"layout":{"type":"flex","setCascadingProperties":true,"justifyContent":"right"}} -->
1011
<!-- wp:page-list {"isNavigationChild":true,"showSubmenuIcon":true,"openSubmenusOnClick":false} /-->
1112
<!-- /wp:navigation --></div>
1213
<!-- /wp:group --></div>
14+
<!-- /wp:group --></div>
1315
<!-- /wp:group -->

0 commit comments

Comments
 (0)