1
0
Fork 0
mirror of synced 2024-09-10 14:35:47 +12: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 24e0f98501
commit 943ae42b27

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>