Skip to content

Commit

Permalink
buy confirmation button text
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-kryha committed Nov 16, 2023
1 parent 81959a0 commit 126906e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/atoms/text.ts
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export const ButtonText = styled.h3<TextProps>`
font-size: 14px;
line-height: 15px;
:first-letter {
text-transform: capitalize;
${({ preserveCase }): string => `text-transform: ${preserveCase ? "none" : "capitalize"};`};
}
${({ customColor }): string => `color: ${customColor || color.black};`};
`;
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/buy/confirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const Confirmation: FC<Props> = ({ text, link, data }) => {
</FormTableRow>
<FormTableRow>
<FormText>name</FormText>
<ButtonText>{data.name}</ButtonText>
<ButtonText preserveCase>{data.name}</ButtonText>
</FormTableRow>
</FormTable>
<InfoContainer>
Expand Down

0 comments on commit 126906e

Please sign in to comment.