Fix: visible issue in touch device (#3491)

pull/3495/head
Daniel 2021-03-09 19:10:02 +05:30 committed by GitHub
parent bb31c555ec
commit a01ec7a1fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 0 deletions

View File

@ -11,4 +11,5 @@
@import "mixins/backgrounds";
@import "mixins/direct-chat";
@import "mixins/toasts";
@import "mixins/touch-support";
@import "mixins/miscellaneous";

View File

@ -0,0 +1,11 @@
//
// Mixins: Touch Support
//
@mixin on-touch-device {
@media (hover: none) and (pointer: coarse) {
@content;
}
}
//

View File

@ -37,6 +37,10 @@ body.iframe-mode-fullscreen {
animation-fill-mode: both;
visibility: visible;
}
@include on-touch-device () {
visibility: visible;
}
}
.navbar-nav {
overflow-y: auto;
@ -55,6 +59,10 @@ body.iframe-mode-fullscreen {
animation-duration: $transition-speed;
animation-fill-mode: both;
visibility: visible;
@include on-touch-device () {
visibility: visible;
}
}
}
}