Skip to content

Commit

Permalink
[sparkle] - fix: adjust class assignment order in TabsTrigger component
Browse files Browse the repository at this point in the history
 - Switch the order of class names to ensure consistent application of styles when the tab is active and disabled
  • Loading branch information
JulesBelveze committed Nov 6, 2024
1 parent a8f724a commit 75f4160
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sparkle/src/components/Tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const TabsTrigger = React.forwardRef<
ref={ref}
className={cn(
"s-h-12",
"data-[state=active]:s-shadow-inner-border disabled:s-pointer-events-none",
"disabled:s-pointer-events-none data-[state=active]:s-shadow-inner-border",
className
)}
disabled={disabled}
Expand Down

0 comments on commit 75f4160

Please sign in to comment.