File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
apps/webapp/app/components/primitives Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -78,8 +78,9 @@ export const TableRow = forwardRef<HTMLTableRowElement, TableRowProps>(
78
78
return (
79
79
< tr
80
80
ref = { ref }
81
+ tabIndex = { 0 }
81
82
className = { cn (
82
- "group/table-row relative w-full after:absolute after:bottom-0 after:left-3 after:right-0 after:h-px after:bg-grid-dimmed" ,
83
+ "group/table-row relative w-full outline-none after:absolute after:bottom-0 after:left-3 after:right-0 after:h-px after:bg-grid-dimmed focus:focus-custom " ,
83
84
disabled && "opacity-50" ,
84
85
isSelected && isSelectedStyle ,
85
86
className
@@ -216,11 +217,11 @@ export const TableCell = forwardRef<HTMLTableCellElement, TableCellProps>(
216
217
colSpan = { colSpan }
217
218
>
218
219
{ to ? (
219
- < Link to = { to } className = { cn ( "focus-custom" , flexClasses , actionClassName ) } >
220
+ < Link to = { to } tabIndex = { - 1 } className = { cn ( flexClasses , actionClassName ) } >
220
221
{ children }
221
222
</ Link >
222
223
) : onClick ? (
223
- < button onClick = { onClick } className = { cn ( "focus-custom" , flexClasses , actionClassName ) } >
224
+ < button onClick = { onClick } tabIndex = { - 1 } className = { cn ( flexClasses , actionClassName ) } >
224
225
{ children }
225
226
</ button >
226
227
) : (
You can’t perform that action at this time.
0 commit comments