mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-04 03:51:44 +02:00
Upgrade Tailwind to v4 (#491)
This commit is contained in:
@@ -92,7 +92,7 @@ export function SegmentedControl<T extends string>({
|
||||
role="radio"
|
||||
tabIndex={isSelected ? 0 : -1}
|
||||
className={classNames(
|
||||
isActive && "!text-text",
|
||||
isActive && "text-text!",
|
||||
"focus:ring-1 focus:ring-border-focus",
|
||||
)}
|
||||
onClick={() => onChange(o.value)}
|
||||
@@ -111,8 +111,8 @@ export function SegmentedControl<T extends string>({
|
||||
role="radio"
|
||||
tabIndex={isSelected ? 0 : -1}
|
||||
className={classNames(
|
||||
isActive && "!text-text",
|
||||
"!px-1.5 !w-auto",
|
||||
isActive && "text-text!",
|
||||
"px-1.5! w-auto!",
|
||||
"focus:ring-border-focus",
|
||||
)}
|
||||
title={o.label}
|
||||
|
||||
Reference in New Issue
Block a user