From 6eb2c7eaeb59e094722bc4a6c04631d22f3e779c Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Tue, 8 Dec 2015 17:36:01 -0500 Subject: [PATCH] fix(button): fix button icons and fab buttons references #689 --- ionic/components/button/button-fab.scss | 10 +++++----- ionic/components/button/button-icon.scss | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/ionic/components/button/button-fab.scss b/ionic/components/button/button-fab.scss index 7494950782..eaa925c709 100644 --- a/ionic/components/button/button-fab.scss +++ b/ionic/components/button/button-fab.scss @@ -31,23 +31,23 @@ $button-fab-size: 56px !default; } -.button-fab-center { +[fab-center] { left: 50%; margin-left: -$button-fab-size / 2; } -.button-fab-top { +[fab-top] { top: 16px; } -.button-fab-right { +[fab-right] { right: 16px; } -.button-fab-bottom { +[fab-bottom] { bottom: 16px; } -.button-fab-left { +[fab-left] { left: 16px; } diff --git a/ionic/components/button/button-icon.scss b/ionic/components/button/button-icon.scss index 62870852b7..ea334e0422 100644 --- a/ionic/components/button/button-icon.scss +++ b/ionic/components/button/button-icon.scss @@ -5,7 +5,6 @@ .button-icon-left icon { - margin-left: -0.3em; padding-right: 0.3em; font-size: 1.4em; line-height: 0.67;