From 8351d8e4a412d32d0879049503b04a0cfbde7f85 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Sun, 13 Nov 2022 19:10:38 +0100 Subject: [PATCH] fix timeline and testimonials blocks alignments --- assets/sass/_theme/blocks/testimonials.sass | 10 ++++------ assets/sass/_theme/blocks/timeline.sass | 2 +- layouts/partials/footer/debug.html | 4 +++- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/sass/_theme/blocks/testimonials.sass b/assets/sass/_theme/blocks/testimonials.sass index bf59ea5a..50b13401 100644 --- a/assets/sass/_theme/blocks/testimonials.sass +++ b/assets/sass/_theme/blocks/testimonials.sass @@ -89,12 +89,10 @@ i background-color: $block-testimonials-pagination-progress-background width: 0 - - body:not(.programs__section) - @include in-page-without-aside - .testimonials - @include media-breakpoint-up(md) - padding-right: col(4) + @include in-page-without-aside + .testimonials + @include media-breakpoint-up(md) + padding-right: calc(#{col(4)} + #{$grid-gutter}) // TODO : en discuter en créa // figure diff --git a/assets/sass/_theme/blocks/timeline.sass b/assets/sass/_theme/blocks/timeline.sass index 5d93e944..beb8bb2c 100644 --- a/assets/sass/_theme/blocks/timeline.sass +++ b/assets/sass/_theme/blocks/timeline.sass @@ -105,7 +105,7 @@ @include media-breakpoint-up(md) .timeline - padding-left: col(5) + padding-left: calc(#{col(5)} + #{$grid-gutter}) @include media-breakpoint-down(md) .events diff --git a/layouts/partials/footer/debug.html b/layouts/partials/footer/debug.html index 42a55444..cad71714 100644 --- a/layouts/partials/footer/debug.html +++ b/layouts/partials/footer/debug.html @@ -37,8 +37,10 @@ } .d-grid > div { background: fuchsia; + /* border-left: 1px solid yellow; - border-right: 1px solid yellow; + border-right: 1px solid yellow; + */ text-align: center; } </style> -- GitLab