Skip to content

Commit

Permalink
style: add visibility to tree expand triangles
Browse files Browse the repository at this point in the history
- The purpose of this is so that Playwright can perform actionability checks on the tree items. This will make operations involving expanding tree items much easier to perform in e2e.
  • Loading branch information
ozyx committed Nov 17, 2022
1 parent dad8811 commit 9c40514
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/styles/_controls.scss
Original file line number Diff line number Diff line change
Expand Up @@ -269,9 +269,11 @@ button {
flex: 0 0 auto;
width: $d;
position: relative;
visibility: hidden;

&.is-enabled {
cursor: pointer;
visibility: visible;

&:hover {
color: $colorDisclosureCtrlHov;
Expand Down

0 comments on commit 9c40514

Please sign in to comment.