Skip to content
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

Material UI components font size is not responsive #39109

Closed
Codensity30 opened this issue Sep 23, 2023 · 2 comments
Closed

Material UI components font size is not responsive #39109

Codensity30 opened this issue Sep 23, 2023 · 2 comments
Labels
customization: theme Centered around the theming features support: Stack Overflow Please ask the community on Stack Overflow

Comments

@Codensity30
Copy link

I've created the website using material UI components autocomplete boxes, tabs, and buttons but now I've found that the components are responsive but the text is not. For example, I have a Tab component that shrinks as per the change in width but the font size remains 14px throughout. How can I make the text of the components also responsive?

Uneven font size

I've tried using ThemeProvider to update the typography font size but nothing happened cause I haven't used the Typography component instead used components like - Tabs, Buttons, and all of which use text.

Maybe this is not an issue but I'm struggling to find the solution for the same.

@github-actions github-actions bot added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Sep 23, 2023
@zannager zannager added the component: Typography The React component. label Sep 25, 2023
@mj12albert
Copy link
Member

@Codensity30 You would need to customize (override) individual styles within the components, I suggest you start with this doc: https://mui.com/material-ui/customization/theme-components/

@mj12albert mj12albert added support: Stack Overflow Please ask the community on Stack Overflow customization: theme Centered around the theming features and removed component: Typography The React component. status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Oct 4, 2023
@github-actions
Copy link

github-actions bot commented Oct 4, 2023

👋 Thanks for using MUI Core!

We use GitHub issues exclusively as a bug and feature requests tracker, however,
this issue appears to be a support request.

For support, please check out https://mui.com/getting-started/support/. Thanks!

If you have a question on Stack Overflow, you are welcome to link to it here, it might help others.
If your issue is subsequently confirmed as a bug, and the report follows the issue template, it can be reopened.

@github-actions github-actions bot closed this as completed Oct 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customization: theme Centered around the theming features support: Stack Overflow Please ask the community on Stack Overflow
Projects
None yet
Development

No branches or pull requests

4 participants