-
Notifications
You must be signed in to change notification settings - Fork 87
fix: adjust number field button icon size to match other components #9026
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
base: main
Are you sure you want to change the base?
Conversation
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.
For the record, this changes touch target area from current 32px
to 24px
which would be kind of against the idea defined in vaadin/vaadin-text-field#359.
Note, the original fix in vaadin/vaadin-text-field#363 is somewhat outdated since icons were later updated in #2595.
The [part$='button']
selector should be changed anyway if we keep it, apparently it was a regression introduced in V22 when adding a new version of number-field in #2279 😕
|
@@ -21,15 +21,15 @@ const numberField = css` | |||
padding: 0; | |||
} | |||
|
|||
[part$='button'] { | |||
cursor: pointer; |
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.
I guess we can keep cursor: pointer
for now even though it's going to be removed in base styles.
Description
Fixes #9006
Type of change