From 7a3e17d32bdf08637cd2457b7b7d9f525bd359f0 Mon Sep 17 00:00:00 2001 From: alexisben <alex@noesya.coop> Date: Thu, 15 Feb 2024 15:25:57 +0100 Subject: [PATCH] comments --- assets/sass/_theme/blocks/timeline.sass | 1 - assets/sass/_theme/utils/grid.sass | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/assets/sass/_theme/blocks/timeline.sass b/assets/sass/_theme/blocks/timeline.sass index 6d6d6b90..bfc8638d 100644 --- a/assets/sass/_theme/blocks/timeline.sass +++ b/assets/sass/_theme/blocks/timeline.sass @@ -95,7 +95,6 @@ .timeline-events margin-left: calc(var(--grid-gutter-negative) / 2) margin-right: calc(var(--grid-gutter-negative) / 2) - // TODO : fixer le px gap en desktop entre chaque event ol display: flex flex-flow: row nowrap diff --git a/assets/sass/_theme/utils/grid.sass b/assets/sass/_theme/utils/grid.sass index 3461e11d..f96d8703 100644 --- a/assets/sass/_theme/utils/grid.sass +++ b/assets/sass/_theme/utils/grid.sass @@ -5,7 +5,6 @@ padding-right: var(--grid-gutter) width: var(--grid-width) -// This must be used for content inside columns @function columns($quantity) $width: calc( (var(--column-width) * #{$quantity}) + var(--grid-gutter) * ( #{$quantity} - 1 )) @return #{$width} @@ -29,7 +28,7 @@ > * flex: 0 0 calc(#{100 / $cols}% - #{$gap-x} * #{($cols - 1) / $cols} ) -// This must be used for offset, outside columns +// Cette fonction retourne un nombre de colonne + une gouttière @function offset($quantity) $width: calc( #{columns($quantity)} + var(--grid-gutter) ) @return #{$width} -- GitLab