From dc0fd1762a069d0d3e3dedb4b5ee6819fbd5d211 Mon Sep 17 00:00:00 2001
From: WebDevTrev <96503752+web-dev-trev@users.noreply.github.com>
Date: Thu, 15 Aug 2024 10:01:08 -0500
Subject: [PATCH 1/3] Fix cover title position [WEB-2911]
---
frontend/scss/molecules/_m-listing.scss | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontend/scss/molecules/_m-listing.scss b/frontend/scss/molecules/_m-listing.scss
index 0bb0c559e8..615e0b1026 100644
--- a/frontend/scss/molecules/_m-listing.scss
+++ b/frontend/scss/molecules/_m-listing.scss
@@ -2206,7 +2206,7 @@ a:focus:hover .btn--magazine {
}
.m-listing----cover-title {
- position: relative;
+ position: absolute;
display: flex;
justify-content: center;
align-items: center;
From 570c964121a8eb986bed5eada45e3cb672f457b4 Mon Sep 17 00:00:00 2001
From: WebDevTrev <96503752+web-dev-trev@users.noreply.github.com>
Date: Thu, 15 Aug 2024 10:01:18 -0500
Subject: [PATCH 2/3] Fix duping of TOC [WEB-2911]
---
.../organisms/_o-table-of-contents.blade.php | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/resources/views/components/organisms/_o-table-of-contents.blade.php b/resources/views/components/organisms/_o-table-of-contents.blade.php
index e616694d25..9115508f8a 100644
--- a/resources/views/components/organisms/_o-table-of-contents.blade.php
+++ b/resources/views/components/organisms/_o-table-of-contents.blade.php
@@ -5,17 +5,14 @@
- @foreach ($item->children as $child)
-
- @include('components.organisms._o-table-of-contents', ['items' => $item->children->sortBy('position')])
-
- @endforeach
+
+ @include('components.organisms._o-table-of-contents', ['items' => $item->children->sortBy('position')])
+
@else
gtmAttributes)) ? ' '.$item->gtmAttributes.'' : '' !!}>
From 6db5094dd99e4dd170d38e115ba906cfe8f3f6c2 Mon Sep 17 00:00:00 2001
From: WebDevTrev <96503752+web-dev-trev@users.noreply.github.com>
Date: Thu, 15 Aug 2024 10:41:16 -0500
Subject: [PATCH 3/3] Update styling of TOC [WEB-2911]
---
frontend/scss/organisms/_o-accordion.scss | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/frontend/scss/organisms/_o-accordion.scss b/frontend/scss/organisms/_o-accordion.scss
index 93eb46ea79..107c2c0185 100644
--- a/frontend/scss/organisms/_o-accordion.scss
+++ b/frontend/scss/organisms/_o-accordion.scss
@@ -403,10 +403,16 @@ h3 {
padding-bottom: 20px;
border-bottom: 1px solid $color__rules--primary;
- .m-link-list__item:first-child::after {
+ &.m-link-list__item:first-of-type::after {
content: none;
}
+ .m-link-list__trigger {
+ &::before {
+ padding-top: 25px !important;
+ }
+ }
+
&.o-blocks>:last-child {
margin-bottom: 0;
}
@@ -416,7 +422,7 @@ h3 {
}
a.m-link-list__trigger.f-secondary {
- color: $color__black--90;
+ color: $color__black--54;
&:hover,
&:focus:hover,
@@ -426,7 +432,7 @@ h3 {
}
&.m-link-list__item::after {
- margin-top: 7px !important;
+ margin-top: 15px !important;
}
.m-link-list__item.s-active {