From 673f478a74309cfaf1d20e710683372fb56fe226 Mon Sep 17 00:00:00 2001 From: albertfolch-redeemeum <102516373+albertfolch-redeemeum@users.noreply.github.com> Date: Fri, 8 Dec 2023 16:05:54 +0100 Subject: [PATCH] fix: price currency (#624) --- .../src/components/currencyDisplay/CurrencyDisplay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-kit/src/components/currencyDisplay/CurrencyDisplay.tsx b/packages/react-kit/src/components/currencyDisplay/CurrencyDisplay.tsx index 9e9381c88..3545341d3 100644 --- a/packages/react-kit/src/components/currencyDisplay/CurrencyDisplay.tsx +++ b/packages/react-kit/src/components/currencyDisplay/CurrencyDisplay.tsx @@ -63,7 +63,7 @@ const CurrencyDisplayValue = styled.span.attrs((props: { height: number }) => ({ ${({ height }) => css` line-height: ${height}px; - font-size: ${(height - 5) / 16}px; + font-size: ${(height - 5) / 16}rem; `} color: #09182c;