mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-17 23:14:03 +01:00
Better SegmentedControl styles
This commit is contained in:
@@ -51,8 +51,8 @@ export function SegmentedControl<T extends string>({ 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}
|
||||
|
||||
Reference in New Issue
Block a user