Skip to content

Commit

Permalink
Blocks: Remove is- prefix from embed alignment class (#5293)
Browse files Browse the repository at this point in the history
  • Loading branch information
aduth authored Feb 28, 2018
1 parent ec79a84 commit 52fa016
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/library/embed/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ function getEmbedBlockSettings( { title, icon, category = 'embed', transforms, k
}

const embedClassName = classnames( 'wp-block-embed', {
[ `is-align${ align }` ]: align,
[ `align${ align }` ]: align,
[ `is-type-${ type }` ]: type,
[ `is-provider-${ providerNameSlug }` ]: providerNameSlug,
} );
Expand Down

0 comments on commit 52fa016

Please sign in to comment.