From 8e93b468c98cf88bdeea17bcb5426f0df71ce005 Mon Sep 17 00:00:00 2001 From: VitroidFPV <76877124+VitroidFPV@users.noreply.github.com> Date: Mon, 28 Oct 2024 18:51:26 +0100 Subject: [PATCH] Style: Fix info grid responsivness --- src/components/SpecGrid/SpecBox.tsx | 10 +++++----- src/components/SpecGrid/index.tsx | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/components/SpecGrid/SpecBox.tsx b/src/components/SpecGrid/SpecBox.tsx index 3ce65bd71c..737deb1722 100644 --- a/src/components/SpecGrid/SpecBox.tsx +++ b/src/components/SpecGrid/SpecBox.tsx @@ -17,25 +17,25 @@ export default function SpecBox({ icon, title, color, children, colSpan = 1 }) { bgColor = 'bg-primary-500/10'; primaryTextColor = 'text-primary-500'; secondaryTextColor = ''; - childFontSize = '2xl:text-2xl lg:text-xl text-2xl'; + childFontSize = '2xl:text-2xl lg:text-xl text-lg'; break; case 'neutral': bgColor = 'bg-neutral-500/20'; primaryTextColor = ''; secondaryTextColor = ''; - childFontSize = '2xl:text-2xl lg:text-xl text-2xl'; + childFontSize = '2xl:text-2xl lg:text-xl text-lg'; break; case 'neutral-light': bgColor = 'bg-neutral-500/10'; primaryTextColor = ''; secondaryTextColor = ''; - childFontSize = '2xl:text-xl lg:text-xl text-xl'; + childFontSize = '2xl:text-xl lg:text-xl text-base'; break; default: bgColor = 'bg-neutral-500/10'; primaryTextColor = ''; secondaryTextColor = ''; - childFontSize = '2xl:text-2xl lg:text-xl text-2xl'; + childFontSize = '2xl:text-xl lg:text-xl text-base'; } let colSpanClass = 'col-span-1'; @@ -55,7 +55,7 @@ export default function SpecBox({ icon, title, color, children, colSpan = 1 }) {