Skip to content

Commit

Permalink
Added flex display to reorder links.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanletulle committed Feb 14, 2022
1 parent 983eaf0 commit 3210d4e
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
16 changes: 16 additions & 0 deletions 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.

22 changes: 20 additions & 2 deletions docroot/themes/custom/epa_intranet/assets/scss/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1301,7 +1301,7 @@ div.box__title, .box--special > .box__title {
}
}

/* IN-851 */
/* IN-851 Image alignment breaks when adding a caption */
figure.caption {
display: flex;
flex-direction: column;
Expand All @@ -1316,4 +1316,22 @@ article {
&.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 3210d4e

Please sign in to comment.