Skip to content

Commit

Permalink
Fix mobile width for gallery images
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Feb 10, 2021
1 parent 62d5af0 commit c9b9aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/gallery/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
margin-right: 0;
}

width: calc(50% - var(--gallery-block--gutter-size, #{$grid-unit-20}));
width: calc(50% - (var(--gallery-block--gutter-size, #{$grid-unit-20}) / 2));

&:nth-of-type(even) {
margin-right: 0;
Expand Down

0 comments on commit c9b9aa2

Please sign in to comment.