From 14374f9488c32f1dbf5126c552772347267ab840 Mon Sep 17 00:00:00 2001 From: Joe Date: Sun, 8 Jan 2017 18:18:12 +0000 Subject: [PATCH] fix(select.scss): parent align affects placeholder When a parent element has the text-align styles applied these affect the floating placeholder. --- src/lib/select/select.scss | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/select/select.scss b/src/lib/select/select.scss index 5c05072044a8..25e23fb8c147 100644 --- a/src/lib/select/select.scss +++ b/src/lib/select/select.scss @@ -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; } }