-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[TextField] Fix long label scrollbar #20535
Conversation
Details of bundle changes.Comparing: 29d9ace...cfbf20d Details of page changes
|
@@ -50,6 +50,7 @@ export const styles = (theme) => { | |||
paddingLeft: 5, | |||
paddingRight: 5, | |||
display: 'inline-block', | |||
whiteSpace: 'nowrap', |
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.
Thanks for exploring this option, I hadn't thought about it. Unfortunately, I think that we should stick with the overflow hidden. While the nowrap solves the vertical scrollbar, it creates a horizontal on. Also, fundamentally, I think that the label and span should style should be as close as possible.
@Uzwername Thanks! |
Closes #20067