Skip to content

Commit

Permalink
Nest entire visualizer in shadow dom container
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan committed Apr 6, 2023
1 parent 599b2de commit e91d8d4
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ export default function BlockAlignmentVisualizer( {
}

return (
<Underlay
className="block-editor-alignment-visualizer"
focusedClientId={ focusedClientId }
>
<ShadowDOMContainer>
<ShadowDOMContainer>
<Underlay
className="block-editor-alignment-visualizer"
focusedClientId={ focusedClientId }
>
<Visualization
alignments={ availableAlignments }
contentSize={ layout.contentSize }
Expand All @@ -70,7 +70,7 @@ export default function BlockAlignmentVisualizer( {
wideSize={ layout.wideSize }
justification={ layout.justifyContent }
/>
</ShadowDOMContainer>
</Underlay>
</Underlay>
</ShadowDOMContainer>
);
}

0 comments on commit e91d8d4

Please sign in to comment.