From 74e6268a9515faa8ece53ec1bb20678a1dc18533 Mon Sep 17 00:00:00 2001 From: Aarni Halinen Date: Wed, 30 Jun 2021 15:02:03 +0300 Subject: [PATCH] smaller font for mobile --- src/pages/_app.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/_app.tsx b/src/pages/_app.tsx index 1a93799..b2a0d4f 100644 --- a/src/pages/_app.tsx +++ b/src/pages/_app.tsx @@ -22,8 +22,8 @@ const GlobalCommonStyles = createGlobalStyle` html { font-family: ${fontFamily}; - /* 12px */ - font-size: ${fontSize * 0.75}pt; + /* 10px */ + font-size: ${fontSize * (2 / 3)}pt; line-height: ${lineHeight}; @media screen and (min-width: ${breakpoints.medium}) {