From e6ab1d016cff20901da8d1a1d0b6bccb0324e3ac Mon Sep 17 00:00:00 2001 From: Olivia206 <olivia.simonet@mmibordeaux.com> Date: Thu, 22 Feb 2024 17:44:20 +0100 Subject: [PATCH] fixed timelign alignment --- assets/sass/_theme/blocks/timeline.sass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/sass/_theme/blocks/timeline.sass b/assets/sass/_theme/blocks/timeline.sass index a43dc7a2..692f016a 100644 --- a/assets/sass/_theme/blocks/timeline.sass +++ b/assets/sass/_theme/blocks/timeline.sass @@ -87,8 +87,8 @@ cursor: default opacity: 0.3 .timeline-event - margin: 0 calc(var(--grid-gutter) / 2) - width: 50% + padding: 0 calc(var(--grid-gutter) / 2) + width: columns(4) .title display: block min-height: var(--min-title-height) @@ -130,6 +130,7 @@ position: absolute top: calc(#{$spacing-4/2} + var(--min-title-height)) .timeline-event + margin-right: 0 padding-right: 0 width: 75% .line -- GitLab