Skip to content

Commit

Permalink
Gallery Block: Stop reflows from breaking custom alignment layouts. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
epiqueras authored and youknowriad committed Sep 30, 2019
1 parent 24514ae commit 898c33a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/block-library/src/gallery/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,6 @@
width: 100%;
}

// Keep the display property consistent when alignments are applied
// to preserve columns
&.alignleft,
&.aligncenter,
&.alignright {
display: flex;
}

// If the gallery is centered, center the content inside as well.
&.aligncenter {
.blocks-gallery-item figure {
Expand Down

0 comments on commit 898c33a

Please sign in to comment.