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

[TextField] Change transform and padding in outlined fields #14053

Closed
muhammad-asad-26 opened this issue Jan 1, 2019 · 2 comments
Closed

[TextField] Change transform and padding in outlined fields #14053

muhammad-asad-26 opened this issue Jan 1, 2019 · 2 comments
Labels
status: waiting for author Issue with insufficient information

Comments

@muhammad-asad-26
Copy link

muhammad-asad-26 commented Jan 1, 2019

Hi,
I'm using material ui in one of my application but I'm facing some problems adjusting the font-sizes for input and labels, When I shrink the font size and change font family, the transform: translate(14px, 17px) scale(1), .MuiOutlinedInput-input-196 { padding: 18.5px 14px; } properties like these gets disturbed. The end product looks very immature and bad.

I need some help to style the text fields globally for entire app.

I need to do something like this

overrides: {
    MuiOutlinedInputLabel: {
      root: {
        transform: "translate(14px, 19px) scale(1)"
      }
    }
  }

Also need to update this class
.MuiInputLabel-outlined-180.MuiInputLabel-shrink-177 {
    transform: translate(11px, -4px) scale(0.9);
}
@oliviertassinari
Copy link
Member

oliviertassinari commented Jan 2, 2019

@muhammad-asad-26 What solution do you envision?

@kelzuriel-mihai
Copy link

So anyone found a solution to this?

@oliviertassinari oliviertassinari added status: waiting for author Issue with insufficient information and removed need more information labels Jan 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for author Issue with insufficient information
Projects
None yet
Development

No branches or pull requests

3 participants