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

[Input] Make CSS override a bit simpler #13825

Merged
merged 2 commits into from
Dec 5, 2018

Conversation

euharrison
Copy link

It's hard to change the color of Input underline because it's a complex selector to override.

If this selector only change borderBottomWidth and borderBottomStyle separately, we will just need to change the &:before

From

screen shot 2018-12-05 at 7 12 36 pm

To

screen shot 2018-12-05 at 7 20 02 pm

It's hard to change the color of Input underline because it's a complex selector to override.

If this selector only change `borderBottomWidth` and `borderBottomStyle` separately, we will just need to change the `&:before`
@oliviertassinari oliviertassinari added new feature New feature or request component: text field This is the name of the generic UI component, not the React module! labels Dec 5, 2018
@oliviertassinari
Copy link
Member

I wish it was that simple, but it's not. We change the color.

@oliviertassinari oliviertassinari changed the title [Input] Update specific border style for underline [Input] Make CSS override a bit simpler Dec 5, 2018
@oliviertassinari oliviertassinari merged commit 1100440 into mui:master Dec 5, 2018
@oliviertassinari
Copy link
Member

@euharrison The disabled dotted style is good to take :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: text field This is the name of the generic UI component, not the React module! new feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants