From 7cbbd117bac760f3127a76b7a01154d6a553c181 Mon Sep 17 00:00:00 2001 From: Bombamuerta Date: Wed, 17 Jun 2020 12:02:05 +0300 Subject: [PATCH 1/3] style(#ott-36): cursor pointers added --- src/features/Common/Button/styled.tsx | 1 + src/features/Common/Checkbox/styled.tsx | 1 + src/features/Common/Radio/styled.tsx | 1 + 3 files changed, 3 insertions(+) diff --git a/src/features/Common/Button/styled.tsx b/src/features/Common/Button/styled.tsx index 04a2c45a..b3c9d504 100644 --- a/src/features/Common/Button/styled.tsx +++ b/src/features/Common/Button/styled.tsx @@ -31,6 +31,7 @@ export const solidButtonStyles = css` padding-bottom: 13px; color: #FFFFFF; font-weight: bold; + cursor: pointer; border-color: transparent; background: ${({ theme: { colors } }) => colors.primary}; ` diff --git a/src/features/Common/Checkbox/styled.tsx b/src/features/Common/Checkbox/styled.tsx index 4c459eb5..29b41c8c 100644 --- a/src/features/Common/Checkbox/styled.tsx +++ b/src/features/Common/Checkbox/styled.tsx @@ -31,6 +31,7 @@ export const Input = styled.input` background-repeat: no-repeat; background-position: center center; background-image: url(/images/checkboxUnchecked.svg); + cursor: pointer; } &:checked+${Label}::before { diff --git a/src/features/Common/Radio/styled.tsx b/src/features/Common/Radio/styled.tsx index 9a98a8e6..eae7aa32 100644 --- a/src/features/Common/Radio/styled.tsx +++ b/src/features/Common/Radio/styled.tsx @@ -32,6 +32,7 @@ export const Input = styled.input` background-repeat: no-repeat; background-position: center center; background-image: url(/images/radioUnchecked.svg); + cursor: pointer; } &:checked+${Label}::before { From ed3019c5014f91ee373eea66eef7758574d35277 Mon Sep 17 00:00:00 2001 From: Bombamuerta Date: Wed, 17 Jun 2020 12:37:32 +0300 Subject: [PATCH 2/3] style(#ott-36): fixed button text align --- src/features/Common/Button/styled.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/features/Common/Button/styled.tsx b/src/features/Common/Button/styled.tsx index b3c9d504..5669f9f1 100644 --- a/src/features/Common/Button/styled.tsx +++ b/src/features/Common/Button/styled.tsx @@ -27,9 +27,7 @@ export const outlineButtonStyles = css` export const solidButtonStyles = css` ${baseButtonStyles} - padding-top: 18.5px; - padding-bottom: 13px; - color: #FFFFFF; + color: #fff; font-weight: bold; cursor: pointer; border-color: transparent; From b398afe8f408336af4e6bfd8261a8918c4d51c31 Mon Sep 17 00:00:00 2001 From: Bombamuerta Date: Wed, 17 Jun 2020 13:27:02 +0300 Subject: [PATCH 3/3] style(#ott-36): fixed card input text wrap --- src/features/Register/Steps/Card/index.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/features/Register/Steps/Card/index.tsx b/src/features/Register/Steps/Card/index.tsx index 4f6675a3..3da20959 100644 --- a/src/features/Register/Steps/Card/index.tsx +++ b/src/features/Register/Steps/Card/index.tsx @@ -13,8 +13,6 @@ import { Row, } from '../../styled' -const labelWidth = 116 - export const CardStep = () => (
Привязка карты @@ -23,7 +21,6 @@ export const CardStep = () => ( @@ -32,7 +29,6 @@ export const CardStep = () => ( label='Срок действия' wrapperWidth={280} inputWidth={85} - labelWidth={labelWidth} paddingX={21} />