From 8b4e528732bbe5130abdbc2c07a8df9a42737c3a Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Mon, 16 Nov 2015 19:11:49 -0500 Subject: [PATCH] fix(text-input): removed the margin-left on floating and stacked labels fixes #518 --- ionic/components/text-input/modes/md.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ionic/components/text-input/modes/md.scss b/ionic/components/text-input/modes/md.scss index 42aad570a7..3d01e220a4 100644 --- a/ionic/components/text-input/modes/md.scss +++ b/ionic/components/text-input/modes/md.scss @@ -43,6 +43,11 @@ ion-card { margin-bottom: 0; } + [stacked-label] ion-label, + [floating-label] ion-label { + margin-left: 0; + } + [stacked-label].has-focus ion-label, [floating-label].has-focus ion-label { color: $text-input-highlight-color; @@ -52,6 +57,7 @@ ion-card { [floating-label] [text-input] { margin-bottom: 8px; margin-top: 8px; + margin-left: 0; } [floating-label] ion-label {