-
Notifications
You must be signed in to change notification settings - Fork 4k
Make slider have standard height #11986
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
Conversation
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) |
✅ PR preview is ready!
|
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.
Copilot wasn't able to review any files in this pull request.
lukasmasuch
left a comment
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.
LGTM 👍
Describe your changes
Our sliders currently don't have standard widget height (40px), which creates problems with layout (e.g. when placing a slider and other widgets side by side). This PR makes the slider standard height and modernizes it a bit by removing the min/max value, adjusting the padding, and changing the font of the thumb to sans serif.
Before:


After:


GitHub Issue Link (if applicable)
Closes #5936
Testing Plan
Updated snapshots, which should cover all the visual changes here. Note that this updates a ton of snapshots since we use slider very often in our e2e tests.
Contribution License Agreement
By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.