1
0
Fork 0
mirror of synced 2024-10-01 09:38:55 +13:00

Fix sticky hover state for icons on mobile

This commit is contained in:
Andrew Kingston 2022-04-19 10:55:53 +01:00
parent 4aa0b1533e
commit 665904781b

View file

@ -36,8 +36,13 @@
div {
font-style: italic;
}
.hoverable:hover {
@media (hover: hover) {
.hoverable:hover {
color: var(--spectrum-alias-icon-color-selected-hover) !important;
cursor: pointer;
}
}
.hoverable:active {
color: var(--spectrum-alias-icon-color-selected-hover) !important;
cursor: pointer;
}
</style>