From 8b86b2c91c65ec9ace32a728cb3b5d3140a50591 Mon Sep 17 00:00:00 2001 From: Integral Team Date: Wed, 11 Sep 2019 17:23:48 +0700 Subject: [PATCH] disabled transform transition for mobile devices --- src/styles/stickers.less | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/styles/stickers.less b/src/styles/stickers.less index 0693a39..fc98bf4 100644 --- a/src/styles/stickers.less +++ b/src/styles/stickers.less @@ -51,6 +51,10 @@ display: none; } } + + @media(hover: none) { + transition: none; + } } .sticker-label { @@ -193,7 +197,7 @@ float: left; cursor: pointer; transform: scale(1); - // transition: transform 250ms; + transition: transform 250ms; width: 48px; height: 48px; background-size: cover;