From 4a4d5434f50d0be5cc93a7a60e52f0a818f4b904 Mon Sep 17 00:00:00 2001 From: Firq Date: Tue, 22 Oct 2024 23:55:30 +0200 Subject: [PATCH] try to cheat LCP --- package.json | 2 +- src/components/titles/smallTitle.astro | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e45ba15..6b91244 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@firq/fgosite", "type": "module", - "version": "0.2.0-pre.27", + "version": "0.2.0-pre.28", "private": true, "scripts": { "dev": "astro dev", diff --git a/src/components/titles/smallTitle.astro b/src/components/titles/smallTitle.astro index f818269..72c2f6f 100644 --- a/src/components/titles/smallTitle.astro +++ b/src/components/titles/smallTitle.astro @@ -60,14 +60,14 @@ const displayBackButton = returnbutton ? "": "display: none" .head { hyphens: auto; padding-top: 2rem; - font-size: 2rem; + font-size: 3.25rem; font-weight: 700; font-family: 'Work Sans Variable', sans-serif; } .sub { margin-top: 0.5em; - font-size: 0.75rem; + font-size: 0.9rem; font-weight: 500; font-family: 'Work Sans Variable', sans-serif; } @@ -87,10 +87,10 @@ const displayBackButton = returnbutton ? "": "display: none" @media (min-width: 620px) { .head { hyphens: none; - font-size: 3rem; + font-size: 3.75rem; } .sub { - font-size: 0.75rem; + font-size: 1rem; } }