Re-apply missing IE10+ and Edge fix for touch/trackpad
This commit is contained in:
parent
f4cb31f8d8
commit
c49cf7905e
@ -43,7 +43,18 @@
|
|||||||
// Layout and theme mixin
|
// Layout and theme mixin
|
||||||
@mixin ps-container($theme) {
|
@mixin ps-container($theme) {
|
||||||
-ms-touch-action: none;
|
-ms-touch-action: none;
|
||||||
|
touch-action: none;
|
||||||
overflow: hidden !important;
|
overflow: hidden !important;
|
||||||
|
-ms-overflow-style: none;
|
||||||
|
|
||||||
|
// Edge
|
||||||
|
@supports (-ms-overflow-style: none) {
|
||||||
|
overflow: auto !important;
|
||||||
|
}
|
||||||
|
// IE10+
|
||||||
|
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
|
||||||
|
overflow: auto !important;
|
||||||
|
}
|
||||||
|
|
||||||
&.ps-active-x > .ps-scrollbar-x-rail,
|
&.ps-active-x > .ps-scrollbar-x-rail,
|
||||||
&.ps-active-y > .ps-scrollbar-y-rail {
|
&.ps-active-y > .ps-scrollbar-y-rail {
|
||||||
|
Loading…
Reference in New Issue
Block a user