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

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
plugins/chat/assets/stylesheets/common

View File

@ -499,17 +499,19 @@ $float-height: 530px;
margin-left: auto;
}
&.can-leave:hover {
.toggle-channel-membership-button.-leave {
display: block;
@media (hover: hover) {
&.can-leave:hover {
.toggle-channel-membership-button.-leave {
display: block;
> * {
pointer-events: auto;
> * {
pointer-events: auto;
}
}
}
.chat-channel-metadata {
display: none;
.chat-channel-metadata {
display: none;
}
}
}