-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
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][FormControlLabel] Fix applying of slotprops #42303
Conversation
Netlify deploy previewhttps://deploy-preview-42303--material-ui.netlify.app/ Bundle size report |
I don't think argos change is related to this PR, reason being neither |
expect(getByTestId('typography')).to.have.style('white-space', 'nowrap'); | ||
expect(getByTestId('typography')).to.have.style('overflow', 'hidden'); | ||
expect(getByTestId('typography')).to.have.style('text-overflow', 'ellipsis'); |
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.
these are styles applied when noWrap
is passed to typography
material-ui/packages/mui-material/src/Typography/Typography.js
Lines 81 to 86 in 9b2e523
style: { | |
overflow: 'hidden', | |
textOverflow: 'ellipsis', | |
whiteSpace: 'nowrap', | |
}, | |
}, |
7ec4f67
to
eecb0a2
Compare
closes #42277