From 72ab3f0a3cb11fe632700fc02901ffa149feafc2 Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Mon, 13 Jan 2025 11:08:48 -0800 Subject: [PATCH] Better SegmentedControl styles --- src-web/components/core/SegmentedControl.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-web/components/core/SegmentedControl.tsx b/src-web/components/core/SegmentedControl.tsx index 4241a7b5..10f28e06 100644 --- a/src-web/components/core/SegmentedControl.tsx +++ b/src-web/components/core/SegmentedControl.tsx @@ -51,8 +51,8 @@ export function SegmentedControl({ value, onChange, options, n event={{ id: name, value: String(o.value) }} tabIndex={isSelected ? 0 : -1} className={classNames( + isActive && '!text-text', '!px-1.5 !w-auto', - !isActive && 'opacity-disabled', 'focus:ring-border-focus', )} key={i}