From 97b6b66bad6814a139b13f383fc1e82ea104214d Mon Sep 17 00:00:00 2001 From: Gavin McDonald Date: Thu, 3 Jul 2025 14:31:32 -0400 Subject: [PATCH] Settings tweaks --- components/Settings/CardStyle.tsx | 12 ++++++------ components/Settings/ExternalLinks.tsx | 7 ++----- components/Settings/GameLinks.tsx | 6 +++--- components/Settings/index.tsx | 16 +++++++++++----- components/Switch.tsx | 7 +++++-- 5 files changed, 27 insertions(+), 21 deletions(-) diff --git a/components/Settings/CardStyle.tsx b/components/Settings/CardStyle.tsx index 88d0fe9..e0f3d7b 100644 --- a/components/Settings/CardStyle.tsx +++ b/components/Settings/CardStyle.tsx @@ -5,7 +5,7 @@ import type { CardStyle } from '@/types'; const cardStyleOptions: CardStyle[] = ['standard', 'color', 'grayscale']; -export default function CardStyle() { +export default function CardStyle({ className }: { className?: string }) { const { gameData, isDM, settings, emitSettings } = useAppContext(); const tuneRadio = (cardStyle: CardStyle) => { @@ -19,18 +19,18 @@ export default function CardStyle() { }; return isDM ? ( -
-
Card style:
+
+
Card style:
{cardStyleOptions.map((option, index) => (