Skip to content

Commit a1c90b3

Browse files
joejordanbrowntinayuangao
authored andcommitted
fix(select.scss): parent align affects placeholder (#2572)
When a parent element has the text-align styles applied these affect the floating placeholder.
1 parent 1072e7a commit a1c90b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lib/select/select.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ md-select {
4545
&.md-floating-placeholder {
4646
top: -22px;
4747
left: -2px;
48+
text-align: left;
4849
transform: scale(0.75);
4950
}
5051

@@ -53,6 +54,7 @@ md-select {
5354

5455
&.md-floating-placeholder {
5556
left: 2px;
57+
text-align: right;
5658
}
5759
}
5860

0 commit comments

Comments
 (0)