From 47521fd7d0b43a6ec062c0e722bfae033eb0a4eb Mon Sep 17 00:00:00 2001 From: Bas Bosman Date: Thu, 3 Jul 2014 12:53:23 +0200 Subject: [PATCH] Add touch-action: manipulate to buttons --- dist/css/bootstrap.css | 2 ++ docs/dist/css/bootstrap.css | 2 ++ less/.csscomb.json | 2 ++ less/buttons.less | 1 + 4 files changed, 7 insertions(+) diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index c2b4f1a6f5..c45210913e 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -2750,6 +2750,8 @@ select[multiple].form-group-lg .form-control { text-align: center; white-space: nowrap; vertical-align: middle; + -ms-touch-action: manipulation; + touch-action: manipulation; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; diff --git a/docs/dist/css/bootstrap.css b/docs/dist/css/bootstrap.css index c2b4f1a6f5..c45210913e 100644 --- a/docs/dist/css/bootstrap.css +++ b/docs/dist/css/bootstrap.css @@ -2750,6 +2750,8 @@ select[multiple].form-group-lg .form-control { text-align: center; white-space: nowrap; vertical-align: middle; + -ms-touch-action: manipulation; + touch-action: manipulation; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; diff --git a/less/.csscomb.json b/less/.csscomb.json index 8456e41df2..16c82174b2 100644 --- a/less/.csscomb.json +++ b/less/.csscomb.json @@ -109,6 +109,8 @@ "list-style-type", "list-style-image", "pointer-events", + "-ms-touch-action", + "touch-action", "cursor", "visibility", "zoom", diff --git a/less/buttons.less b/less/buttons.less index 492bdc65ae..814ee235c5 100644 --- a/less/buttons.less +++ b/less/buttons.less @@ -12,6 +12,7 @@ font-weight: @btn-font-weight; text-align: center; vertical-align: middle; + touch-action: manipulation; cursor: pointer; background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214 border: 1px solid transparent;