From 74168278e46bb029e73f7db72d4d1d7f6abcec46 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Fri, 4 Mar 2016 13:23:47 -0500 Subject: [PATCH] fix(label): remove margin from item-right in a stacked or floating label references #5319 --- ionic/components/input/test/stacked-labels/main.html | 3 ++- ionic/components/label/label.scss | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ionic/components/input/test/stacked-labels/main.html b/ionic/components/input/test/stacked-labels/main.html index ca59b8a602..3cab44c477 100644 --- a/ionic/components/input/test/stacked-labels/main.html +++ b/ionic/components/input/test/stacked-labels/main.html @@ -16,7 +16,8 @@ Label 2 - + + diff --git a/ionic/components/label/label.scss b/ionic/components/label/label.scss index d08852ec33..36824a2268 100644 --- a/ionic/components/label/label.scss +++ b/ionic/components/label/label.scss @@ -39,6 +39,12 @@ ion-label[fixed] { flex-wrap: wrap; } +.item-label-stacked [item-right], +.item-label-floating [item-right] { + margin-top: 0; + margin-bottom: 0; +} + ion-label[stacked], ion-label[floating] { align-self: stretch;