From 9c3052f7dc4617cca31a43e141d174dfbd6f0959 Mon Sep 17 00:00:00 2001 From: Gustavo Nogueira <83383362+Gugahnstn@users.noreply.github.com> Date: Mon, 2 Oct 2023 17:35:02 -0300 Subject: [PATCH] Update style.ts --- src/components/CardResult/style.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CardResult/style.ts b/src/components/CardResult/style.ts index 04ef7df..418459c 100644 --- a/src/components/CardResult/style.ts +++ b/src/components/CardResult/style.ts @@ -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)); } `} `;