File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
apps/webapp/app/components/primitives Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -168,6 +168,9 @@ const rowHoverStyles = {
168168const stickyStyles =
169169 "sticky right-0 bg-background-dimmed group-hover/table-row:bg-charcoal-750 [&:has(.group-hover\\/table-row\\:block)]:w-auto group-has-[[tabindex='0']:focus]/table-row:bg-background-bright" ;
170170
171+ const tabFocusRowDividerStyles =
172+ "has-[[tabindex='0']:focus]:after:absolute has-[[tabindex='0']:focus]:after:bottom-0 has-[[tabindex='0']:focus]:after:left-0 has-[[tabindex='0']:focus]:after:right-0 has-[[tabindex='0']:focus]:after:h-px has-[[tabindex='0']:focus]:after:bg-grid-dimmed has-[[tabindex='0']:focus]:before:absolute has-[[tabindex='0']:focus]:before:left-0 has-[[tabindex='0']:focus]:before:-top-px has-[[tabindex='0']:focus]:before:h-px has-[[tabindex='0']:focus]:before:w-3 has-[[tabindex='0']:focus]:before:bg-grid-dimmed" ;
173+
171174const isSelectedStyle = "bg-charcoal-750 group-hover:bg-charcoal-750" ;
172175
173176export const TableCell = forwardRef < HTMLTableCellElement , TableCellProps > (
@@ -217,6 +220,7 @@ export const TableCell = forwardRef<HTMLTableCellElement, TableCellProps>(
217220 isSticky && stickyStyles ,
218221 isSelected && isSelectedStyle ,
219222 ! isSelected && rowHoverStyles [ rowHoverStyle ] ,
223+ tabFocusRowDividerStyles ,
220224 className
221225 ) }
222226 colSpan = { colSpan }
You can’t perform that action at this time.
0 commit comments