Carousel: Fix counter text alignment

This commit is contained in:
2020-03-26 19:48:17 +01:00
parent f11185e940
commit 5defbcfad6

View File

@@ -6,8 +6,8 @@
font-size: pxVW(672); font-size: pxVW(672);
color: rgba($color-tertiary, 0.4); color: rgba($color-tertiary, 0.4);
text-align: center; text-align: center;
// pointer-events: none; pointer-events: none;
// user-select: none; user-select: none;
// Column // Column
&__column { &__column {
@@ -15,8 +15,13 @@
flex-direction: column; flex-direction: column;
line-height: 0.85; line-height: 0.85;
text-align: right; text-align: right;
margin: 0 -16px; margin: 0 0px;
transition: transform 0.6s $ease-quart; transition: transform 0.6s $ease-quart;
will-change: transform; will-change: transform;
// Last column
&:last-child {
text-align: left;
}
} }
} }