aboutsummaryrefslogtreecommitdiff
path: root/less/forms.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-07-01 19:49:29 -0700
committerMark Otto <[email protected]>2013-07-01 19:49:29 -0700
commit5b2d933524616c9948c9e5229c14e109aa83727a (patch)
tree4b07d387da10c36a0fc13a214a445d25cb35e7cb /less/forms.less
parent08b3515fd7dfa76cdbb92d52a15d6797f3a1c4ed (diff)
downloadbootstrap-5b2d933524616c9948c9e5229c14e109aa83727a.tar.xz
bootstrap-5b2d933524616c9948c9e5229c14e109aa83727a.zip
Fixes #8350: unfuck Chrome number input element cursor /cc @cvrebert @eintnohick
Diffstat (limited to 'less/forms.less')
-rw-r--r--less/forms.less10
1 files changed, 10 insertions, 0 deletions
diff --git a/less/forms.less b/less/forms.less
index ea340007c..45f453789 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -149,6 +149,16 @@ input[type="checkbox"]:focus {
.tab-focus();
}
+// Fix for Chrome number input
+// Setting certain font-sizes causes the `I` bar to appear on hover of the bottom increment button.
+// See https://github.com/twitter/bootstrap/issues/8350 for more.
+input[type="number"] {
+ &::-webkit-outer-spin-button
+ &::-webkit-inner-spin-button {
+ height: auto;
+ }
+}
+
// Placeholder
// -------------------------