From a7415f10ccc4499951023dc51cf83dde3e017abd Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Tue, 2 Feb 2016 15:49:17 +0100 Subject: [PATCH 1/2] Fixes border radius in full outline button --- ionic/components/button/button.scss | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/ionic/components/button/button.scss b/ionic/components/button/button.scss index 1de2ba7a9c..f77e6cb544 100644 --- a/ionic/components/button/button.scss +++ b/ionic/components/button/button.scss @@ -62,6 +62,13 @@ a.button { .button-full { width: 100%; + + // Full Outline Button + &.button-outline { + border-left-width: 0; + border-right-width: 0; + border-radius: 0; + } } @@ -72,11 +79,3 @@ a.button { padding: $button-round-padding; border-radius: $button-round-border-radius; } - -// Full Outline Button -// -------------------------------------------------- - -.button-full.button-outline { - border-left-width: 0; - border-right-width: 0; -} From 637e792945f5c74a8a9d7b8b3c84b96f96d3f5b1 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Tue, 2 Feb 2016 15:58:22 +0100 Subject: [PATCH 2/2] regression: not using nested selector --- ionic/components/button/button.scss | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/ionic/components/button/button.scss b/ionic/components/button/button.scss index f77e6cb544..669265179e 100644 --- a/ionic/components/button/button.scss +++ b/ionic/components/button/button.scss @@ -62,13 +62,6 @@ a.button { .button-full { width: 100%; - - // Full Outline Button - &.button-outline { - border-left-width: 0; - border-right-width: 0; - border-radius: 0; - } } @@ -79,3 +72,12 @@ a.button { padding: $button-round-padding; border-radius: $button-round-border-radius; } + +// Full Outline Button +// -------------------------------------------------- + +.button-full.button-outline { + border-left-width: 0; + border-right-width: 0; + border-radius: 0; +}