FIX: do not apply hover state to non capable devices (#19228)

This commit is contained in:
Joffrey JAFFEUX 2022-11-28 21:33:44 +01:00 committed by GitHub
parent 0593e5f7c3
commit f7c29d959b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 8 deletions

View File

@ -499,6 +499,7 @@ $float-height: 530px;
margin-left: auto;
}
@media (hover: hover) {
&.can-leave:hover {
.toggle-channel-membership-button.-leave {
display: block;
@ -512,6 +513,7 @@ $float-height: 530px;
display: none;
}
}
}
.discourse-no-touch &:hover,
&.active {