From 8017b01cf7d02990028bc910fcebfe9e4b847c22 Mon Sep 17 00:00:00 2001 From: Jakub Kolebaba Date: Thu, 13 Jul 2023 11:19:26 +0200 Subject: [PATCH] Fixed gradient text, styles moved to sx prop --- src/components/FundWallet/FundWalletButton.tsx | 13 ++++--------- src/components/FundWallet/FundWalletModal.tsx | 8 +++++--- .../FundWallet/components/CryptoBlockTitle.tsx | 11 ++--------- 3 files changed, 11 insertions(+), 21 deletions(-) diff --git a/src/components/FundWallet/FundWalletButton.tsx b/src/components/FundWallet/FundWalletButton.tsx index 2c1160a0..3cd46f03 100644 --- a/src/components/FundWallet/FundWalletButton.tsx +++ b/src/components/FundWallet/FundWalletButton.tsx @@ -1,12 +1,7 @@ -import { Button, ButtonProps } from "../Button/Button" -import styled from "@emotion/styled" +import { ButtonProps } from "../Button/Button" import { useTranslation } from "react-i18next" +import { Button } from "../Button/Button" -const SButton = styled(Button)` - font-size: 12px; - line-height: 12px; - padding: 11px 15px 11px 15px; -` type Props = Pick @@ -14,8 +9,8 @@ export const FundWalletButton = (props: Props) => { const { t } = useTranslation() return ( - + ) } diff --git a/src/components/FundWallet/FundWalletModal.tsx b/src/components/FundWallet/FundWalletModal.tsx index aafc607d..89726208 100644 --- a/src/components/FundWallet/FundWalletModal.tsx +++ b/src/components/FundWallet/FundWalletModal.tsx @@ -31,9 +31,11 @@ export const FundWalletModal = ({ open, onClose }: Props) => { onClose={onClose} withoutCloseOutside={true} > - - {t("fund.modal.title")} - +
+ + {t("fund.modal.title")} + +
{ const { t } = useTranslation() return ( - +
{t("fund.modal.crypto.title")} - +
) }