Skip to content

Commit

Permalink
Update style.ts (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gugahnstn committed Oct 2, 2023
1 parent 74d21de commit b039f80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CardResult/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@ export const CardPhrase = styled.p`
color: ${theme.colors.result};
text-align: center;
font-weight: 700;
white-space: nowrap;
::after {
content: attr(data-text);
font-size: calc(${theme.font.sizes.text_lg} - 0.1rem * (attr(data-text) - 10));
white-space: nowrap;
font-size: calc(1.5rem - 0.1rem * (attr(data-text) - 10));
}
`}
`;

0 comments on commit b039f80

Please sign in to comment.