Browse Source
Merge pull request #5483 from Budibase/fix/sticky-icon-hover-state
Fix sticky hover state for icons on mobile
pull/5542/head
Andrew Kingston
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
2 deletions
-
packages/client/src/components/app/Icon.svelte
|
|
|
@ -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> |
|
|
|
|