Skip to content

Commit

Permalink
Adds classname to signify consumption of toolbars
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Nov 13, 2019
1 parent 193f14d commit eb2bca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/block-editor/src/components/inner-blocks/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ class InnerBlocks extends Component {

const classes = classnames( 'editor-inner-blocks block-editor-inner-blocks', {
'has-overlay': isSmallScreen && ( hasOverlay && ! isPlaceholder ), // Temporary click-through disable on desktop.
'is-consuming-toolbars': consumeChildToolbar,
} );

return (
Expand Down

0 comments on commit eb2bca1

Please sign in to comment.