From c172734984184ccf2e6fd0900cd673c5081ff000 Mon Sep 17 00:00:00 2001 From: alexisben <alexiben7@gmail.com> Date: Tue, 23 Aug 2022 09:58:31 +0200 Subject: [PATCH] fix posts --- assets/sass/_theme/_configuration.sass | 2 +- assets/sass/_theme/blocks/posts.sass | 8 ++++---- assets/sass/_theme/sections/posts.sass | 6 +++++- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/assets/sass/_theme/_configuration.sass b/assets/sass/_theme/_configuration.sass index 7474e61a..c918557d 100644 --- a/assets/sass/_theme/_configuration.sass +++ b/assets/sass/_theme/_configuration.sass @@ -215,7 +215,7 @@ $program-share-font-size: $h5-size !default $program-share-font-size-md: $h5-size-md !default $program-zindex-toc: $zindex-toc !default -// Layout posts list +// Layout posts list (ne concerne pas les blocks posts) $posts-layout-list: false !default // MISC diff --git a/assets/sass/_theme/blocks/posts.sass b/assets/sass/_theme/blocks/posts.sass index ae6aa28c..21b02a15 100644 --- a/assets/sass/_theme/blocks/posts.sass +++ b/assets/sass/_theme/blocks/posts.sass @@ -1,4 +1,4 @@ -.posts__page - aside - @include container - margin-top: $spacing1 \ No newline at end of file +.block-posts + .posts + @include grid(1) + @include grid(3, md) \ No newline at end of file diff --git a/assets/sass/_theme/sections/posts.sass b/assets/sass/_theme/sections/posts.sass index c8f49443..736f7b07 100644 --- a/assets/sass/_theme/sections/posts.sass +++ b/assets/sass/_theme/sections/posts.sass @@ -54,13 +54,17 @@ p, a max-width: col(6, 9) - @else .posts @include grid(1) @include grid(2, md) @include grid(3, xl) +.posts__page + aside + @include container + margin-top: $spacing1 + .post-categories @include list-reset @extend .small -- GitLab