Skip to content

[SelectField] label is influenced by text-align css property #4847

@PhilipGarnero

Description

@PhilipGarnero

Problem description

When a SelectField component is inside another component having the css property text-align set, the label is also affected.

Steps to reproduce

Go to the select field demo page and put a text-align: center or right on any parent container (the "simple examples" for instance or the whole page). Then try this on the text field page. You'll see that you don't get the same behavior.

Versions

  • Material-UI: 0.15.2
  • React: 15.2.1
  • Browser: Chrome 51.0.2704.106

Metadata

Metadata

Assignees

No one assigned

    Labels

    scope: selectChanges related to the select.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions