Skip to content

Commit

Permalink
Post Editor: Fix animation and browser console error when returning f…
Browse files Browse the repository at this point in the history
…rom template edit mode (#48930)
  • Loading branch information
t-hamano authored Mar 13, 2023
1 parent 74c18f4 commit 3f62a6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/edit-post/src/components/visual-editor/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export default function VisualEditor( { styles } ) {
<motion.div
className="edit-post-visual-editor__content-area"
animate={ {
padding: isTemplateMode ? '48px 48px 0' : '0',
padding: isTemplateMode ? '48px 48px 0' : 0,
} }
ref={ blockSelectionClearerRef }
>
Expand Down

1 comment on commit 3f62a6d

@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 3f62a6d.
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/4406825333
📝 Reported issues:

Please sign in to comment.