Skip to content

Commit

Permalink
Fix for Image alignment/caption.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanletulle committed Feb 14, 2022
1 parent a660dc4 commit 983eaf0
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
19 changes: 18 additions & 1 deletion docroot/themes/custom/epa_intranet/assets/css/global.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 18 additions & 1 deletion docroot/themes/custom/epa_intranet/assets/scss/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1299,4 +1299,21 @@ div.box__title, .box--special > .box__title {
.region-footer-menu .grid-row li {
width: 100%;
}
}
}

/* IN-851 */
figure.caption {
display: flex;
flex-direction: column;
}
article {
&.align-center + figcaption {
text-align: center;
}
&.align-right + figcaption {
text-align: right;
}
&.align-left + figcaption {
text-align: left;
}
}

0 comments on commit 983eaf0

Please sign in to comment.