From 8a12ae72cb3c850e261e7de81e8ca5e3b1f0cf0e Mon Sep 17 00:00:00 2001 From: Gigi Date: Thu, 9 Oct 2025 17:29:03 +0100 Subject: [PATCH] fix: ensure cache size input uses same font and size as surrounding text Use inherit for fontSize, fontFamily, and color to match parent styling --- src/components/Settings/OfflineModeSettings.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/Settings/OfflineModeSettings.tsx b/src/components/Settings/OfflineModeSettings.tsx index 49ae42ed..d027c5f7 100644 --- a/src/components/Settings/OfflineModeSettings.tsx +++ b/src/components/Settings/OfflineModeSettings.tsx @@ -99,8 +99,9 @@ const OfflineModeSettings: React.FC = ({ settings, onU background: 'var(--surface-secondary)', border: '1px solid var(--border-color, #333)', borderRadius: '4px', - color: 'var(--text-primary)', - fontSize: '0.85rem', + color: 'inherit', + fontSize: 'inherit', + fontFamily: 'inherit', textAlign: 'center' }} />