Skip to content

Commit

Permalink
Merge pull request #1315 from CuBoulder/issue/1314
Browse files Browse the repository at this point in the history
Fix for alignment of floated images with long captions
  • Loading branch information
jcsparks authored Sep 24, 2024
2 parents f6f19d6 + cccd4fc commit c38d902
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,19 @@ article .align-left .media-image-caption p {
font-size: 85%;
}

/* Center image above caption that has been floated */
.align-center .imageMediaStyle {
text-align: center;
}

.align-left .imageMediaStyle{
text-align: left;
}

.align-right .imageMediaStyle {
text-align: right;
}

.align-right.image_style-large_image_style,
.align-left.image_style-large_image_style {
max-width: 100%;
Expand Down

0 comments on commit c38d902

Please sign in to comment.