From abf7a36d8ada489e579b76fa146d7aa30ea3b08f Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Wed, 3 Dec 2025 18:07:59 -0800 Subject: [PATCH] remove translateY(1px) from button active state --- src/lib/components/ui/Button.svelte | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/lib/components/ui/Button.svelte b/src/lib/components/ui/Button.svelte index f703c170..1c99e4c1 100644 --- a/src/lib/components/ui/Button.svelte +++ b/src/lib/components/ui/Button.svelte @@ -188,9 +188,6 @@ font-family: inherit; @include smooth-transition($duration-zoom, background-color, color, border-color); - &:active:not(:disabled) { - transform: translateY(1px); - } &:disabled { cursor: not-allowed; @@ -287,10 +284,6 @@ color: var(--accent-blue-focus); text-decoration: underline; } - - &:active:not(:disabled) { - transform: none; - } } :global([data-button-root].destructive) { @@ -340,10 +333,6 @@ // Shapes :global([data-button-root].circular) { border-radius: 999px; - - &:active:not(:disabled) { - transform: none; - } } :global([data-button-root].pill) {