From 0dd1e4cedb780a41579818ce3f4379ffc1040a9b Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet206@gmail.com> Date: Thu, 15 Feb 2024 12:32:31 +0100 Subject: [PATCH] fix cta, pages and chapter --- assets/sass/_theme/blocks/call_to_action.sass | 2 +- assets/sass/_theme/blocks/chapter.sass | 2 +- assets/sass/_theme/blocks/pages.sass | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/sass/_theme/blocks/call_to_action.sass b/assets/sass/_theme/blocks/call_to_action.sass index 991995aa..e382d6e7 100644 --- a/assets/sass/_theme/blocks/call_to_action.sass +++ b/assets/sass/_theme/blocks/call_to_action.sass @@ -62,7 +62,7 @@ &:last-child margin-bottom: 0 .call_to_action--with-image - padding-top: half(var(--grid-gutter)) + padding-top: $spacing1 display: flex flex-direction: column > * diff --git a/assets/sass/_theme/blocks/chapter.sass b/assets/sass/_theme/blocks/chapter.sass index 0e30ca6c..991e0134 100644 --- a/assets/sass/_theme/blocks/chapter.sass +++ b/assets/sass/_theme/blocks/chapter.sass @@ -76,12 +76,12 @@ margin-bottom: 0 .chapter flex-direction: row + justify-content: space-between .text order: 0 width: columns(7) figure width: columns(4) - margin-left: columns(2) margin-bottom: 0 text-align: right img diff --git a/assets/sass/_theme/blocks/pages.sass b/assets/sass/_theme/blocks/pages.sass index b482b778..aab5a5fb 100644 --- a/assets/sass/_theme/blocks/pages.sass +++ b/assets/sass/_theme/blocks/pages.sass @@ -194,9 +194,9 @@ @include h2 article .media - width: columns(4) + width: columns(2) .page-content - width: columns(8) + width: columns(4) &:not(.with-description) ul.title-only @include grid(4, desktop, space(2)) -- GitLab