Skip to content

Commit a3574f7

Browse files
fix(card): use opacity instead of visibility to hide action menu
1 parent 977d6de commit a3574f7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

1st-gen/packages/card/src/card.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,11 @@ sp-popover {
7777
}
7878

7979
.actions {
80-
visibility: hidden;
81-
margin: auto;
80+
opacity: 0;
81+
}
82+
83+
.actions:focus-within {
84+
opacity: 1;
8285
}
8386

8487
/**

0 commit comments

Comments
 (0)