Skip to content

Commit

Permalink
Fix gallery width to match with other elements width.
Browse files Browse the repository at this point in the history
Gallery width should match the width of other elements in both the editor and in the frontend. We had a rule in the backend for that but not on the frontend. This rule was migrated to the frontend.
  • Loading branch information
jorgefilipecosta committed May 4, 2018
1 parent 12a16a1 commit 180efd8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core-blocks/gallery/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
display: flex;
flex-wrap: wrap;
list-style-type: none;
margin: 0px;
padding: 0px;
// allow gallery items to go edge to edge
margin: 0 -8px 0 -8px;

.blocks-gallery-image,
.blocks-gallery-item {
Expand Down

0 comments on commit 180efd8

Please sign in to comment.