From 45226ffa3f56914886924c303e27fc3a20a41b82 Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet@mmibordeaux.com> Date: Fri, 21 Apr 2023 10:07:58 +0200 Subject: [PATCH] fixed alternate posts margins --- assets/sass/_theme/blocks/posts.sass | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/assets/sass/_theme/blocks/posts.sass b/assets/sass/_theme/blocks/posts.sass index 6ea4fa3a..9db93e1f 100644 --- a/assets/sass/_theme/blocks/posts.sass +++ b/assets/sass/_theme/blocks/posts.sass @@ -171,12 +171,11 @@ width: col(4, 10) &.right margin-left: auto - &:not(:first-child) + &.left &.portrait margin-top: -30% - &.square - margin-top: -15% + &.square, &.landscape - margin-top: -10% + margin-top: -15% .post .media img aspect-ratio: unset \ No newline at end of file -- GitLab