From 74d21de9e17979a65dce9dc953f2481e70ab7c04 Mon Sep 17 00:00:00 2001 From: Gustavo Nogueira <83383362+Gugahnstn@users.noreply.github.com> Date: Mon, 2 Oct 2023 17:28:29 -0300 Subject: [PATCH] Update style.ts (#15) --- 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;