Skip to content

Commit

Permalink
Merge pull request #354 from USEPA/IN-844
Browse files Browse the repository at this point in the history
In 844
  • Loading branch information
ryanletulle authored Feb 14, 2022
2 parents a660dc4 + 3210d4e commit 6103733
Show file tree
Hide file tree
Showing 2 changed files with 69 additions and 1 deletion.
35 changes: 34 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.

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

/* IN-851 Image alignment breaks when adding a caption */
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;
}
}

/* IN-844 Style updates for books */
.page-node-type-book #block-epa-intranet-content div {
display: flex;
flex-direction: column;
}
.page-node-type-book #block-epa-intranet-content div {
&.node__links {
order: 4;
}
&.node__links ul.links {
padding: 0;
}
&.node__links ul.links li {
float: left;
list-style: none;
}
}

0 comments on commit 6103733

Please sign in to comment.