From a6bb9d1d7701dc11e3c41ba369f6bb2ecb81ae65 Mon Sep 17 00:00:00 2001 From: Gustavo Nogueira <83383362+Gugahnstn@users.noreply.github.com> Date: Mon, 2 Oct 2023 17:28:21 -0300 Subject: [PATCH] Update style.ts --- src/components/CardResult/style.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;