Repository navigation
Input: Hide native spin controls for type="number"
#80646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
1424a60
40f7656
7280826
5d9a985
9640a38
c121d9e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,6 +35,16 @@ | |
| &[type="url"] { | ||
| direction: ltr; /* maintain LTR in RTL languages */ | ||
| } | ||
|
|
||
| &[type="number"] { | ||
| appearance: textfield; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's rather incidental to this pull request, but this got me wondering what we plan to do with
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right. I think for |
||
|
|
||
| &::-webkit-outer-spin-button, | ||
| &::-webkit-inner-spin-button { | ||
| appearance: none; | ||
| margin: 0; | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Not 100% sure if the |
||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Switching these to unprefixed
appearance.