mirror of
https://github.com/necolas/normalize.css.git
synced 2024-12-25 15:14:19 +00:00
Fix number input button cursor on OS X Chrome
Fix the cursor style for Chrome's increment/decrement buttons on `input[type="number"]. For certain `font-size` values of the `input`, it causes the cursor style of the decrement button to change from `default` to `text`. Fix gh-283
This commit is contained in:
parent
4b94eb7d4d
commit
d86aa8500e
11
normalize.css
vendored
11
normalize.css
vendored
@ -355,6 +355,17 @@ input[type="radio"] {
|
|||||||
padding: 0; /* 2 */
|
padding: 0; /* 2 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fix the cursor style for Chrome's increment/decrement buttons. For certain
|
||||||
|
* `font-size` values of the `input`, it causes the cursor style of the
|
||||||
|
* decrement button to change from `default` to `text`.
|
||||||
|
*/
|
||||||
|
|
||||||
|
input[type="number"]::-webkit-inner-spin-button,
|
||||||
|
input[type="number"]::-webkit-outer-spin-button {
|
||||||
|
height: auto;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
* 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
|
||||||
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
* 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
|
||||||
|
Loading…
Reference in New Issue
Block a user