From 7e110a573f1d68bad74d18d014bfb1ea6d529d14 Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Mon, 26 Dec 2022 11:03:27 +0100
Subject: [PATCH] chapter

---
 assets/sass/_theme/blocks/chapter.sass | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/assets/sass/_theme/blocks/chapter.sass b/assets/sass/_theme/blocks/chapter.sass
index 46c3fed0..1364e9a7 100644
--- a/assets/sass/_theme/blocks/chapter.sass
+++ b/assets/sass/_theme/blocks/chapter.sass
@@ -35,16 +35,18 @@
         @include in-page-with-sidebar
             figure
                 max-width: col(6, 8)
+                figcaption
+                    padding: 0 col(1, 6)
                 &.image-portrait
                     max-width: col(4, 8)
+                    figcaption
+                        padding: 0 col(1, 4)
             &--alt_background, &--accent_background
                 background: none
                 .chapter .text
                     padding: $grid-gutter col(1, 8)
                 figure
                     margin-bottom: 0
-                figcaption
-                    padding: 0 col(1, 8)
             &--alt_background
                 .chapter
                     background: $block-chapter-layout-alt-background
-- 
GitLab