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

View File

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