Skip to content

Instantly share code, notes, and snippets.

@kugimiya
Created February 19, 2019 11:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kugimiya/ec7ae46d64897b28dfc6ac8ea537c757 to your computer and use it in GitHub Desktop.
Save kugimiya/ec7ae46d64897b28dfc6ac8ea537c757 to your computer and use it in GitHub Desktop.
diff --git a/design/themes/responsive/css/styles.less b/design/themes/responsive/css/styles.less
index cdb098e895..4d2e8de294 100644
--- a/design/themes/responsive/css/styles.less
+++ b/design/themes/responsive/css/styles.less
@@ -7213,8 +7213,13 @@ Carousel
* Template: templates/blocks/our_brands.tpl
*/
/* clearfix */
-[class*="owl"] {
- touch-action: none;
+.owl-item {
+ -ms-touch-action: pan-y;
+ touch-action: pan-y;
+ -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ user-select: none;
/* hotfix blink problem, see: https://www.chromestatus.com/features/5093566007214080 */
}
.owl-carousel .owl-wrapper:after {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment