Skip to content

Commit

Permalink
Add margins for right-aligned images
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Aug 22, 2024
1 parent 01ec27a commit 815ac55
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions scss/modules/media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,11 @@ div.align-center img {
top: 0;
width: 100%;
}

.align-right .field--type-image {
margin: 0 0 0 1rem;
}

.align-left .field--type-image {
margin: 0 1rem 0 0;
}

0 comments on commit 815ac55

Please sign in to comment.