From 126906e888b32af2844f95216adbae9bdef1083e Mon Sep 17 00:00:00 2001 From: CARLOS TRIGO Date: Thu, 16 Nov 2023 09:41:09 +0100 Subject: [PATCH] buy confirmation button text --- frontend/src/components/atoms/text.ts | 2 +- frontend/src/pages/buy/confirmation.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/components/atoms/text.ts b/frontend/src/components/atoms/text.ts index fcca75da7..3c7f42fb8 100644 --- a/frontend/src/components/atoms/text.ts +++ b/frontend/src/components/atoms/text.ts @@ -125,7 +125,7 @@ export const ButtonText = styled.h3` font-size: 14px; line-height: 15px; :first-letter { - text-transform: capitalize; + ${({ preserveCase }): string => `text-transform: ${preserveCase ? "none" : "capitalize"};`}; } ${({ customColor }): string => `color: ${customColor || color.black};`}; `; diff --git a/frontend/src/pages/buy/confirmation.tsx b/frontend/src/pages/buy/confirmation.tsx index d900fde9f..4b29744c4 100644 --- a/frontend/src/pages/buy/confirmation.tsx +++ b/frontend/src/pages/buy/confirmation.tsx @@ -31,7 +31,7 @@ export const Confirmation: FC = ({ text, link, data }) => { name - {data.name} + {data.name}