Skip to content

Commit 773369f

Browse files
authored
fix: Remove focus outline from tree-view focus target (#4034)
1 parent 7af314d commit 773369f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/tree-view/tree-item/styles.scss

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ $item-toggle-column-width: 28px;
3535
}
3636

3737
> .expand-toggle-wrapper {
38+
display: grid;
3839
grid-column: 1;
3940
grid-row: 1;
4041
padding-inline-end: awsui.$space-scaled-xxs;
@@ -56,7 +57,10 @@ $item-toggle-column-width: 28px;
5657
}
5758
}
5859

59-
.tree-item-structured-item,
60-
.tree-item-focus-target {
60+
.tree-item-structured-item {
6161
/* used in keyboard navigation */
6262
}
63+
64+
.tree-item-focus-target {
65+
outline: none;
66+
}

0 commit comments

Comments
 (0)