From c430ea9f4e9ecb7842957347be234a03f1e1fe55 Mon Sep 17 00:00:00 2001 From: malmen237 Date: Tue, 23 Apr 2024 14:47:28 +0200 Subject: [PATCH] fix: removed margin on button and added active-enabled to primary-btn --- src/components/landing-page/form-elements.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/landing-page/form-elements.tsx b/src/components/landing-page/form-elements.tsx index ed2d4b21..bcbb61c6 100644 --- a/src/components/landing-page/form-elements.tsx +++ b/src/components/landing-page/form-elements.tsx @@ -68,7 +68,7 @@ const ActionButton = styled.button` font-size: 100%; font-weight: 700; line-height: 2.4rem; - margin: 1rem; + margin: 0; outline: 0.2rem solid transparent; padding: 1rem 1.5rem; text-align: center; @@ -94,7 +94,7 @@ const ActionButton = styled.button` `; export const PrimaryButton = styled(ActionButton)` - &:active { + &:active:enabled { background-color: #f3f4f6; box-shadow: -0.1rem 0.2rem 0.5rem rgba(81, 41, 10, 0.15),