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
1 changed files with 7 additions and 2 deletions

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>