From c2dd8a6ecdc7b68ba6f3a8012f8ee52b27fb06a4 Mon Sep 17 00:00:00 2001 From: taiga-family-bot Date: Mon, 5 Feb 2024 12:55:19 +0000 Subject: [PATCH] chore: apply changes after linting [bot] --- .../components/swipe-action/swipe-actions.style.less | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/addon-mobile/components/swipe-action/swipe-actions.style.less b/projects/addon-mobile/components/swipe-action/swipe-actions.style.less index ef17cc516d70..65330d2126d1 100644 --- a/projects/addon-mobile/components/swipe-action/swipe-actions.style.less +++ b/projects/addon-mobile/components/swipe-action/swipe-actions.style.less @@ -2,6 +2,7 @@ :host { .scrollbar-hidden(); + --tui-action-gap: 24; --tui-actions-padding: 0.5rem; --tui-item-size: 44; @@ -42,6 +43,7 @@ --t-factor: calc((var(--t-actions-width) - var(--t-distance)) / var(--t-actions-width)); --t-scale: calc(1 / var(--t-factor)); --t-translate: calc(1px * (1 - 1 / var(--t-factor))); + transform: ~'translate3d(calc(calc((-100% - calc(1px * var(--tui-action-gap))) * (@{i} - 1)) / var(--t-scale)), 0, var(--t-translate))'; scale: var(--t-scale); }