Skip to content

Commit

Permalink
Re-apply uncropped alignment changes lost in rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Glen Davies committed Mar 9, 2021
1 parent ea5bc3b commit 063159d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/block-library/src/gallery/deprecated.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
flex-direction: column;
justify-content: center;
position: relative;
align-self: flex-start;

// On mobile and responsive viewports, we allow only 1 or 2 columns at the most.
width: calc(50% - 1em);
Expand Down
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 @@ -109,7 +109,7 @@
&:not(.is-cropped) {

figure.wp-block-image:not(#individual-image) {
margin-top: auto;
margin-top: 0;
margin-bottom: auto;
img {
margin-bottom: var(--gallery-block--gutter-size, #{$grid-unit-20});
Expand Down

0 comments on commit 063159d

Please sign in to comment.