From bb85415f6bd50aa1e279a3cd0d2e2972b4b91a79 Mon Sep 17 00:00:00 2001 From: celine Date: Fri, 28 Jun 2024 16:47:29 -0400 Subject: [PATCH] fixed iOS's bullshit changing up our font weights just cause it goddamn feels like it --- app/globals.css | 1 + components/Blocks.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/globals.css b/app/globals.css index 2245baf1..0265a8f5 100644 --- a/app/globals.css +++ b/app/globals.css @@ -21,6 +21,7 @@ @apply overscroll-y-none; min-height: -webkit-fill-available; @apply font-sans; + font-synthesis: none; } #__next { diff --git a/components/Blocks.tsx b/components/Blocks.tsx index 608ababb..e894754d 100644 --- a/components/Blocks.tsx +++ b/components/Blocks.tsx @@ -250,8 +250,8 @@ function Block(props: BlockProps) { const HeadingStyle = { 1: "text-xl font-bold", - 2: "text-lg font-bold ", - 3: "text-base font-bold italic text-secondary ", + 2: "text-lg font-bold", + 3: "text-base font-bold text-secondary ", } as { [level: number]: string }; export function HeadingBlock(props: BlockProps) { let headingLevel = useEntity(props.entityID, "block/heading-level"); -- 2.54.0