diff --git a/assets/sass/_theme/blocks/timeline.sass b/assets/sass/_theme/blocks/timeline.sass index 6d6d6b90a24274aa5503065181074157f68d697c..bfc8638d8dcec7e4ba6ec54af8910b4418c652f5 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 3461e11d20cc14b03444b01591cc735de2badfc6..f96d87035d61079f58c46c7f4f8ef0b2692b5222 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}