Skip to content

Commit

Permalink
Navigation screen: Add .editor-styles-wrapper (#23736)
Browse files Browse the repository at this point in the history
Surrounds the Navigation screen's BlockList with a
.editor-styles-wrapper div. This allows CSS rules which override default
block styling to work.
  • Loading branch information
noisysocks authored Jul 14, 2020
1 parent 15009bb commit 53e65ab
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,13 @@ export default function BlockEditorArea( {
) }
</NavigableToolbar>
<Popover.Slot name="block-toolbar" />
<WritingFlow>
<ObserveTyping>
<BlockList />
</ObserveTyping>
</WritingFlow>
<div className="editor-styles-wrapper">
<WritingFlow>
<ObserveTyping>
<BlockList />
</ObserveTyping>
</WritingFlow>
</div>
</CardBody>
<CardFooter>
<CheckboxControl
Expand Down

0 comments on commit 53e65ab

Please sign in to comment.