mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(select.scss): parent align affects placeholder (#2572)
When a parent element has the text-align styles applied these affect the floating placeholder.
This commit is contained in:
@@ -45,6 +45,7 @@ md-select {
|
||||
&.md-floating-placeholder {
|
||||
top: -22px;
|
||||
left: -2px;
|
||||
text-align: left;
|
||||
transform: scale(0.75);
|
||||
}
|
||||
|
||||
@@ -53,6 +54,7 @@ md-select {
|
||||
|
||||
&.md-floating-placeholder {
|
||||
left: 2px;
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user