-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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
[joy-ui] Reduce height of some variants #38527
Conversation
Netlify deploy previewhttps://deploy-preview-38527--material-ui.netlify.app/ Bundle size reportDetails of bundle changes (Toolpad) |
This comment was marked as resolved.
This comment was marked as resolved.
a634103
to
7e51c31
Compare
Hmm I don’t know. With all the other components denser, it might look too heavy and therefore feels a bit off. I was drawing inspiration from other libraries as shadcn, radix and mostly reshaped, where 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.
👍
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.
Please wait, have to fix Autocomplete sizes.
Co-authored-by: siriwatknp <[email protected]>
Co-authored-by: siriwatknp <[email protected]>
Co-authored-by: siriwatknp <[email protected]>
Closes #38418
Default theme should use the
md
variant as much as possible, so instead of changing the default variant, I reduced theminHeight
ofmd
variants from2.5rem
to2.25rem
and added some stray tweaks to make things more consistent.The components with sizes reduced:
Moreover, I've taken the liberty to make some fine-tuning to other sizes as well.