Skip to content

Commit

Permalink
Merge pull request #5324 from WordPress/fix/icon-button-regression
Browse files Browse the repository at this point in the history
Fix IconButton indent regression
  • Loading branch information
jasmussen authored Mar 1, 2018
2 parents 52fa016 + dfd8a0a commit 7109a87
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions editor/components/inserter-with-shortcuts/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ function InserterWithShortcuts( { items, isLocked, onToggle, onInsert } ) {
onClick={ () => onInsert( item ) }
label={ sprintf( __( 'Add %s' ), item.title ) }
icon={ (
<span className="editor-inserter-with-shortcuts__block-icon">
<BlockIcon icon={ item.icon } />
</span>
<BlockIcon icon={ item.icon } />
) }
/>
) ) }
Expand Down

0 comments on commit 7109a87

Please sign in to comment.