Skip to content

Commit

Permalink
Update style.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Gugahnstn authored Oct 2, 2023
1 parent b039f80 commit 0a315f4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/CardResult/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,14 @@ export const CardTitle = styled.h1`

export const CardPhrase = styled.p`
${({ theme }) => css`
font-size: ${theme.font.sizes.text_lg};
color: ${theme.colors.result};
text-align: center;
font-weight: 700;
white-space: nowrap;
::after {
content: attr(data-text);
font-size: calc(1.5rem - 0.1rem * (attr(data-text) - 10));
font-size: calc(1rem - 0.1rem * (attr(data-text) - 10));
}
`}
`;

0 comments on commit 0a315f4

Please sign in to comment.