Skip to content

Commit

Permalink
Add default orientation for Spacer.
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Nov 10, 2021
1 parent e64dd66 commit 6592604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation/edit/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ function Navigation( {
openSubmenusOnClick,
overlayMenu,
showSubmenuIcon,
layout: { justifyContent, orientation } = {},
layout: { justifyContent, orientation = 'horizontal' } = {},
} = attributes;

// Spacer block needs orientation from context. This is a patch until
Expand Down

0 comments on commit 6592604

Please sign in to comment.