Skip to content

Commit

Permalink
fix(gv-tree): improve a11y
Browse files Browse the repository at this point in the history
  • Loading branch information
gcusnieux committed Feb 8, 2024
1 parent 33f151a commit 7a5b463
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/molecules/gv-tree/gv-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,22 @@ export class GvTree extends LitElement {
box-sizing: border-box;
}
ul label:hover,
.selected > label {
font-style: italic;
text-decoration: underline;
}
.folder > label:hover,
.folder > label {
font-weight: bold;
font-style: normal;
text-decoration: none;
}
ul label:hover,
.folder > label:hover {
opacity: 0.8;
}
.tree-arrow {
Expand Down

0 comments on commit 7a5b463

Please sign in to comment.