From 9ec2a847f4a88b91d9815a5bca88ca11a53a5151 Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Fri, 16 Dec 2022 15:58:38 +0100
Subject: [PATCH] fix authors posts list

---
 assets/sass/_theme/blocks/call_to_action.sass | 9 +++++----
 assets/sass/_theme/sections/authors.sass      | 5 -----
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/assets/sass/_theme/blocks/call_to_action.sass b/assets/sass/_theme/blocks/call_to_action.sass
index 88e29ae7..8624134c 100644
--- a/assets/sass/_theme/blocks/call_to_action.sass
+++ b/assets/sass/_theme/blocks/call_to_action.sass
@@ -1,4 +1,5 @@
 .block-call_to_action
+    --cta-background-color: #{$block-call-to-action-background}
     @include in-page-with-or-without-sidebar
         h2, h3
             @include h5
@@ -35,7 +36,7 @@
             margin-top: calc(#{$spacing2} - #{$spacing1})
 
     @include media-breakpoint-down(desktop)
-        background-color: $block-call-to-action-background
+        background-color: var(--cta-background-color)
         .call_to_action
             padding: $spacing3 0
             .actions
@@ -61,12 +62,12 @@
                 > *
                     order: 2
                 > div
-                    background-color: $block-call-to-action-background
+                    background-color: var(--cta-background-color)
                     padding: col(1, 8)
                     width: 100%
                     position: relative
                     &::after
-                        background-color: $block-call-to-action-background
+                        background-color: var(--cta-background-color)
                         content: ''
                         display: block
                         position: absolute
@@ -88,7 +89,7 @@
   
         @include in-page-without-sidebar
             .block-content
-                background-color: $block-call-to-action-background
+                background-color: var(--cta-background-color)
                 padding: $spacing4 $grid-gutter
                 margin-left: -$grid-gutter
                 margin-right: -$grid-gutter
diff --git a/assets/sass/_theme/sections/authors.sass b/assets/sass/_theme/sections/authors.sass
index 58c1849d..e69de29b 100644
--- a/assets/sass/_theme/sections/authors.sass
+++ b/assets/sass/_theme/sections/authors.sass
@@ -1,5 +0,0 @@
-.authors__term
-    .container
-        margin-top: $spacing2
-    .posts
-        @include grid(3, desktop)
-- 
GitLab