Skip to content

Commit

Permalink
Post Editor: Fix browser console error when changing device preview m…
Browse files Browse the repository at this point in the history
…ode (#53969)
  • Loading branch information
t-hamano authored Aug 29, 2023
1 parent 935be24 commit 0074c5a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/edit-post/src/components/visual-editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,8 @@ export default function VisualEditor( { styles } ) {
const desktopCanvasStyles = {
height: '100%',
width: '100%',
margin: 0,
marginLeft: 'auto',
marginRight: 'auto',
display: 'flex',
flexFlow: 'column',
// Default background color so that grey
Expand Down

1 comment on commit 0074c5a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 0074c5a.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6012205313
📝 Reported issues:

Please sign in to comment.