-
Notifications
You must be signed in to change notification settings - Fork 3.3k
fix: FIT-407: buttonVariant font size cleanup #8009
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
✅ Deploy Preview for label-studio-docs-new-theme canceled.
|
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for heartex-docs canceled.
|
✅ Deploy Preview for label-studio-playground ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
bmartel
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.
This has global implications, I am fairly certain this is the most correct base state of a button, just want to be sure this doesn't have any weird effects in the application.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #8009 +/- ##
============================================
+ Coverage 35.04% 55.02% +19.98%
============================================
Files 657 465 -192
Lines 45376 32084 -13292
Branches 7566 8368 +802
============================================
+ Hits 15901 17655 +1754
+ Misses 29472 14429 -15043
+ Partials 3 0 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This pull request includes a minor update to the
buttonVariantfunction inweb/libs/ui/src/lib/button/button.tsx. The change removes thetext-label-mediumclass from the button styles to simplify the applied text styles.before:

after:

web/libs/ui/src/lib/button/button.tsx: Removed thetext-label-mediumclass from the button's style definitions in thebuttonVariantfunction. This simplifies the text styling by relying on other existing classes.