Skip to content

Commit

Permalink
Fix figure caption alignments
Browse files Browse the repository at this point in the history
  • Loading branch information
andmor- committed Oct 22, 2024
1 parent 603ff9b commit cedb360
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions scss/modules/media.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,14 @@ div.align-center img {
width: 100%;
}

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

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

0 comments on commit cedb360

Please sign in to comment.