From 3210d4ea82b27daa9418d4f8a30621694717c24a Mon Sep 17 00:00:00 2001 From: "Ryan P Letulle (CGI)" <92539208+ryanletulle@users.noreply.github.com> Date: Mon, 14 Feb 2022 11:24:12 -0600 Subject: [PATCH] Added flex display to reorder links. --- .../custom/epa_intranet/assets/css/global.css | 16 ++++++++++++++ .../epa_intranet/assets/scss/global.scss | 22 +++++++++++++++++-- 2 files changed, 36 insertions(+), 2 deletions(-) diff --git a/docroot/themes/custom/epa_intranet/assets/css/global.css b/docroot/themes/custom/epa_intranet/assets/css/global.css index 59a67635e..c525f1d69 100644 --- a/docroot/themes/custom/epa_intranet/assets/css/global.css +++ b/docroot/themes/custom/epa_intranet/assets/css/global.css @@ -1277,4 +1277,20 @@ article.align-left + figcaption { } } +/* 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; +} +.page-node-type-book #block-epa-intranet-content div .node__links ul.links { + padding: 0; +} +.page-node-type-book #block-epa-intranet-content div .node__links ul.links li { + float: left; + list-style: none; +} + /*# sourceMappingURL=global.css.map */ diff --git a/docroot/themes/custom/epa_intranet/assets/scss/global.scss b/docroot/themes/custom/epa_intranet/assets/scss/global.scss index 848fca650..7007192e9 100644 --- a/docroot/themes/custom/epa_intranet/assets/scss/global.scss +++ b/docroot/themes/custom/epa_intranet/assets/scss/global.scss @@ -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; @@ -1316,4 +1316,22 @@ article { &.align-left + figcaption { text-align: left; } -} \ No newline at end of file +} + +/* 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; + } +} \ No newline at end of file