mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-19 11:51:23 +02:00
Fixes #8350: unfuck Chrome number input element cursor /cc @cvrebert @eintnohick
This commit is contained in:
4
docs/assets/css/bootstrap.css
vendored
4
docs/assets/css/bootstrap.css
vendored
@@ -1486,6 +1486,10 @@ input[type="checkbox"]:focus {
|
|||||||
outline-offset: -2px;
|
outline-offset: -2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input[type="number"]::-webkit-outer-spin-button input[type="number"]::-webkit-inner-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
input:-moz-placeholder,
|
input:-moz-placeholder,
|
||||||
textarea:-moz-placeholder {
|
textarea:-moz-placeholder {
|
||||||
color: #999999;
|
color: #999999;
|
||||||
|
@@ -149,6 +149,16 @@ input[type="checkbox"]:focus {
|
|||||||
.tab-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
|
// Placeholder
|
||||||
// -------------------------
|
// -------------------------
|
||||||
|
Reference in New Issue
Block a user