Skip to content

Commit

Permalink
[sparkle] - refactor: streamline DataTable row hover styling
Browse files Browse the repository at this point in the history
 - Simplify hover state CSS by removing border color change on row clickability indication.
  • Loading branch information
Jules authored and Jules committed Aug 1, 2024
1 parent 3d3af35 commit f16aefb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions sparkle/src/components/DataTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,7 @@ DataTable.Row = function Row({
<tr
className={classNames(
"s-border-b s-border-structure-200 s-text-sm",
onClick
? "s-cursor-pointer hover:s-border-b-neutral-500 hover:s-bg-gray-50"
: "",
onClick ? "s-cursor-pointer hover:s-bg-gray-50" : "",
className || ""
)}
onClick={onClick ? onClick : undefined}
Expand Down

0 comments on commit f16aefb

Please sign in to comment.