Skip to content

Commit ca16c85

Browse files
authored
fix: Fix bug that caused flyout buttons to retain their active appearance on mobile (#9582)
1 parent 028363e commit ca16c85

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

packages/blockly/core/flyout_button.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,13 @@ Css.register(`
427427
fill: #666;
428428
}
429429
430-
.blocklyFlyoutButton:hover {
430+
@media (hover: hover) {
431+
.blocklyFlyoutButton:hover {
432+
fill: #aaa;
433+
}
434+
}
435+
436+
.blocklyFlyoutButton:active {
431437
fill: #aaa;
432438
}
433439

0 commit comments

Comments
 (0)