Skip to content

Commit

Permalink
No allignment gallery className fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolad committed Mar 24, 2019
1 parent 1d22b84 commit 17ab0f2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/block-library/src/gallery/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,12 @@ class GalleryEdit extends Component {
className={ classnames(
className,
{
[ `align${ align }` ]: align,
[ `columns-${ columns }` ]: columns,
'is-cropped': imageCrop,
}
},
align ? {
[ `align${ align }` ]: align,
} : null
) }
>
{ dropZone }
Expand Down

0 comments on commit 17ab0f2

Please sign in to comment.