Skip to content

Commit

Permalink
Fix shuffle button separation
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Oct 11, 2024
1 parent efc95a9 commit 6e0e180
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/block-editor/src/components/block-toolbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,12 @@ export function PrivateBlockToolbar( {
shouldShowVisualToolbar &&
isMultiToolbar && <BlockGroupToolbar /> }
{ showShuffleButton && (
<Shuffle
clientId={ blockClientIds[ 0 ] }
as={ ToolbarButton }
/>
<ToolbarGroup>
<Shuffle
clientId={ blockClientIds[ 0 ] }
as={ ToolbarButton }
/>
</ToolbarGroup>
) }
{ shouldShowVisualToolbar && (
<>
Expand Down

0 comments on commit 6e0e180

Please sign in to comment.