Skip to content

Commit

Permalink
remove margins from first and last item inside text and image
Browse files Browse the repository at this point in the history
  • Loading branch information
kesiah committed Dec 9, 2024
1 parent 46a139d commit f3c2ac5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions blocks/text-image/text-image.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,14 @@
order: 1;
flex-grow: 1;

*:first-child {
margin-top: 0;
}

*:last-child {
margin-bottom: 0;
}

@media (min-width: 768px) {
order: initial;
width: calc(100% - var(--image-width));
Expand Down

0 comments on commit f3c2ac5

Please sign in to comment.