Skip to content

Commit

Permalink
Fix JS error when the padding is not a correct object
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Nov 4, 2021
1 parent bb03916 commit bb569ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-editor/src/layouts/flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@ export default {
${ appendSelectors( selector, '> [data-align="full"]' ) } {
max-width: none;
margin-left: calc( -1 * ${ padding.left || 0 } ) !important;
margin-right: calc( -1 * ${ padding.right || 0 } ) !important;
margin-left: calc( -1 * ${ padding?.left || 0 } ) !important;
margin-right: calc( -1 * ${ padding?.right || 0 } ) !important;
}
`
: '';
Expand Down

0 comments on commit bb569ee

Please sign in to comment.