diff --git a/src/components/CardResult/style.ts b/src/components/CardResult/style.ts index ebd7fde..04ef7df 100644 --- a/src/components/CardResult/style.ts +++ b/src/components/CardResult/style.ts @@ -48,7 +48,7 @@ export const CardPhrase = styled.p` text-align: center; font-weight: 700; - &::after { + ::after { content: attr(data-text); font-size: calc(${theme.font.sizes.text_lg} - 0.1rem * (attr(data-text) - 10)); white-space: nowrap;