From e4ceb5eafe68dd316dc7e19433791904baafde8c Mon Sep 17 00:00:00 2001 From: Chris Lawton Date: Tue, 23 Jul 2024 15:28:55 +0100 Subject: [PATCH] rename partner title class and reduce space underneath it --- .../molecules/streamfield/blocks/partners_block.html | 2 +- tbx/static_src/sass/components/_partners.scss | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/partners_block.html b/tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/partners_block.html index 6e875b931..3312b9589 100644 --- a/tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/partners_block.html +++ b/tbx/project_styleguide/templates/patterns/molecules/streamfield/blocks/partners_block.html @@ -2,7 +2,7 @@
{% if value.title %} - {% include "patterns/atoms/motif-heading/motif-heading.html" with heading=value.title heading_level=2 classes="showcase__title motif-heading--two motif-heading--static" %} + {% include "patterns/atoms/motif-heading/motif-heading.html" with heading=value.title heading_level=2 classes="partners__title motif-heading--two motif-heading--static" %} {% endif %} {% include "patterns/molecules/partner_logos/partner_logos.html" with partner_logos=value.partner_logos %} diff --git a/tbx/static_src/sass/components/_partners.scss b/tbx/static_src/sass/components/_partners.scss index e5e4cfc76..ebbf71f85 100644 --- a/tbx/static_src/sass/components/_partners.scss +++ b/tbx/static_src/sass/components/_partners.scss @@ -10,6 +10,11 @@ max-height: 90px; } + &__title { + @include font-size(heading-two-c); + margin-bottom: $spacer-medium; + } + &__logos { display: flex; flex-wrap: wrap;