mirror of https://github.com/ColorlibHQ/AdminLTE
Fix: visible issue in touch device (#3491)
parent
bb31c555ec
commit
a01ec7a1fe
|
@ -11,4 +11,5 @@
|
|||
@import "mixins/backgrounds";
|
||||
@import "mixins/direct-chat";
|
||||
@import "mixins/toasts";
|
||||
@import "mixins/touch-support";
|
||||
@import "mixins/miscellaneous";
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
//
|
||||
// Mixins: Touch Support
|
||||
//
|
||||
|
||||
@mixin on-touch-device {
|
||||
@media (hover: none) and (pointer: coarse) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
//
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue