Skip to content

Commit 860080b

Browse files
committed
fix table-row selection outline in safari
1 parent 28b38af commit 860080b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

packages/uui-table/lib/uui-table-row.element.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ export class UUITableRowElement extends SelectOnlyMixin(
2929
cursor: pointer;
3030
}
3131
32-
:host([selected])::after {
33-
content: '';
34-
position: absolute;
35-
inset: 0;
32+
:host([selected]) {
3633
outline: 2px solid
3734
var(--uui-table-row-color-selected, var(--uui-color-selected));
3835
outline-offset: -3px;
3936
}
37+
38+
:host(:focus) {
39+
outline-color: var(--uui-color-focus);
40+
}
4041
`,
4142
];
4243

0 commit comments

Comments
 (0)