aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-11-12 23:43:13 -0800
committerChris Rebert <[email protected]>2015-11-12 23:44:29 -0800
commit920f7fd695cd5efca346b518a91e47218f16290c (patch)
tree3e410af67aa41820fd52104f37289e10a9b4e0d0
parent73b02c833dd2da12fd2bd51d944afa86829e9986 (diff)
downloadbootstrap-920f7fd695cd5efca346b518a91e47218f16290c.tar.xz
bootstrap-920f7fd695cd5efca346b518a91e47218f16290c.zip
Revert "Drop cursor pointer for button role"
This reverts commit 61067304cd8ad4394af69003971b4e9c3aa94c55. The normalize.css pull request (https://github.com/necolas/normalize.css/pull/379 ) was REJECTED, *NOT* merged!
-rw-r--r--scss/_reboot.scss11
1 files changed, 11 insertions, 0 deletions
diff --git a/scss/_reboot.scss b/scss/_reboot.scss
index ae183e7ea..e4db70a9a 100644
--- a/scss/_reboot.scss
+++ b/scss/_reboot.scss
@@ -196,6 +196,17 @@ img {
}
+// iOS "clickable elements" fix for role="button"
+//
+// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
+// for traditionally non-focusable elements with role="button"
+// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
+// Upstream patch for normalize.css submitted: https://github.com/necolas/normalize.css/pull/379 - remove this fix once that is merged
+
+[role="button"] {
+ cursor: pointer;
+}
+
//
// Tables
//