aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas Bosman <[email protected]>2014-07-03 12:53:23 +0200
committerBas Bosman <[email protected]>2014-07-03 12:53:23 +0200
commit47521fd7d0b43a6ec062c0e722bfae033eb0a4eb (patch)
tree9822be008f77807c685a5310ba605493b73be32b
parent23dd323da1dbb84da8aa64451303009684ac8a65 (diff)
downloadbootstrap-47521fd7d0b43a6ec062c0e722bfae033eb0a4eb.tar.xz
bootstrap-47521fd7d0b43a6ec062c0e722bfae033eb0a4eb.zip
Add touch-action: manipulate to buttons
-rw-r--r--dist/css/bootstrap.css2
-rw-r--r--docs/dist/css/bootstrap.css2
-rw-r--r--less/.csscomb.json2
-rw-r--r--less/buttons.less1
4 files changed, 7 insertions, 0 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css
index c2b4f1a6f..c45210913 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 c2b4f1a6f..c45210913 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 8456e41df..16c82174b 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 492bdc65a..814ee235c 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;