Skip to content

Commit

Permalink
Fixes classname to match package and CSS rule
Browse files Browse the repository at this point in the history
During the creation of block-editor the className on the autocompleter wasn’t updated. This change updates the class to use the `block-editor-` prefix. This causes the CSS to apply again thereby correcting the margin that was missing.
  • Loading branch information
getdave committed Apr 2, 2019
1 parent 6c9a9b2 commit 28eb706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/editor/src/components/autocompleters/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function createBlockCompleter( {
} = {} ) {
return {
name: 'blocks',
className: 'editor-autocompleters__block',
className: 'block-editor-autocompleters__block',
triggerPrefix: '/',
options() {
const selectedBlockName = getSelectedBlockName();
Expand Down

0 comments on commit 28eb706

Please sign in to comment.