From 6ae4c3abfc4f38e2a155a3422f75a1de2569a0c4 Mon Sep 17 00:00:00 2001 From: Nikhil Dange Date: Sun, 12 May 2024 21:45:54 -0700 Subject: [PATCH 1/2] some crazy css --- src/pages/index.tsx | 3 +++ src/styles/pages/Home.module.scss | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 3221f691..e8a1d884 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -132,6 +132,9 @@ const PortalHomePage = ({
Date: Mon, 13 May 2024 18:55:10 -0700 Subject: [PATCH 2/2] 16px to 1rem --- src/styles/pages/Home.module.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles/pages/Home.module.scss b/src/styles/pages/Home.module.scss index b59028ac..ff1429bd 100644 --- a/src/styles/pages/Home.module.scss +++ b/src/styles/pages/Home.module.scss @@ -221,8 +221,8 @@ width: 0; @media screen and (width <= vars.$breakpoint-md) { - // hardcoded to 16 to prevent auto zoom on iOS - font-size: 16px; + // 1rem prevents auto zoom on iOS + font-size: 1rem; line-height: 1.5rem; padding: 0.625rem 1.25rem; }