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

Fix EmailField font size differs from other fields #6567

Merged
merged 2 commits into from
Sep 9, 2021

Conversation

fzaninotto
Copy link
Member

Closes #6566

Comment on lines 38 to 45
<Typography
component="span"
variant="body2"
className={className}
{...sanitizeFieldRestProps(rest)}
>
{value}
</Typography>
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you can pass these props directly to the Link component. See the example above this link: https://material-ui.com/components/links/#api

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why should I? The props have to end up in the Typography element anyway.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nevermind, you're right, I'll change that.

@djhi djhi added this to the 3.18.2 milestone Sep 9, 2021
@djhi djhi merged commit 48e144c into master Sep 9, 2021
@djhi djhi deleted the fix-email-field-typography branch September 9, 2021 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EmailField showing larger text than all other Fields
2 participants