From 5defbcfad6900da6d96bcf1a0a433363553ff510 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Pe=CC=81ault?= Date: Thu, 26 Mar 2020 19:48:17 +0100 Subject: [PATCH] Carousel: Fix counter text alignment --- src/style/atoms/_counter.scss | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/style/atoms/_counter.scss b/src/style/atoms/_counter.scss index 989a518..37a510d 100644 --- a/src/style/atoms/_counter.scss +++ b/src/style/atoms/_counter.scss @@ -6,8 +6,8 @@ font-size: pxVW(672); color: rgba($color-tertiary, 0.4); text-align: center; - // pointer-events: none; - // user-select: none; + pointer-events: none; + user-select: none; // Column &__column { @@ -15,8 +15,13 @@ flex-direction: column; line-height: 0.85; text-align: right; - margin: 0 -16px; + margin: 0 0px; transition: transform 0.6s $ease-quart; will-change: transform; + + // Last column + &:last-child { + text-align: left; + } } -} \ No newline at end of file +}