Skip to content

Commit

Permalink
fix(select.scss): parent align affects placeholder (#2572)
Browse files Browse the repository at this point in the history
When a parent element has the text-align styles applied these affect the floating placeholder.
  • Loading branch information
joejordanbrown authored and tinayuangao committed Jan 12, 2017
1 parent 1072e7a commit a1c90b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/select/select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ md-select {
&.md-floating-placeholder {
top: -22px;
left: -2px;
text-align: left;
transform: scale(0.75);
}

Expand All @@ -53,6 +54,7 @@ md-select {

&.md-floating-placeholder {
left: 2px;
text-align: right;
}
}

Expand Down

0 comments on commit a1c90b3

Please sign in to comment.