From 35dd0ed0b016cca54481942f4fea442b042d2ee8 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Wed, 20 Apr 2016 13:20:01 -0400 Subject: [PATCH] fix(button): add a category to buttons so they won't get the button styles fixes #6237 --- .../components/action-sheet/action-sheet.md.scss | 4 ++++ ionic/components/action-sheet/action-sheet.ts | 4 ++-- .../components/action-sheet/action-sheet.wp.scss | 4 ++++ ionic/components/alert/alert.ios.scss | 2 +- ionic/components/alert/alert.md.scss | 8 ++++++-- ionic/components/alert/alert.ts | 6 +++--- ionic/components/alert/alert.wp.scss | 8 ++++++-- ionic/components/button/button.ts | 15 +++++++++++++++ ionic/components/checkbox/checkbox.ts | 1 + ionic/components/radio/radio-button.ts | 1 + ionic/components/select/select.ts | 1 + ionic/components/toggle/toggle.ts | 1 + 12 files changed, 45 insertions(+), 10 deletions(-) diff --git a/ionic/components/action-sheet/action-sheet.md.scss b/ionic/components/action-sheet/action-sheet.md.scss index fb00fc0dd5..908dcdfdce 100644 --- a/ionic/components/action-sheet/action-sheet.md.scss +++ b/ionic/components/action-sheet/action-sheet.md.scss @@ -70,6 +70,10 @@ $action-sheet-md-icon-margin: 0 28px 0 0 !default; &:last-child .action-sheet-button { margin-bottom: $action-sheet-md-group-margin-bottom; } + + .button-inner { + justify-content: flex-start; + } } .action-sheet-selected { diff --git a/ionic/components/action-sheet/action-sheet.ts b/ionic/components/action-sheet/action-sheet.ts index 54b73c336d..a99dcca0b6 100644 --- a/ionic/components/action-sheet/action-sheet.ts +++ b/ionic/components/action-sheet/action-sheet.ts @@ -222,14 +222,14 @@ export class ActionSheet extends ViewController { '
' + '
{{d.title}}
' + '
{{d.subTitle}}
' + - '' + '
' + '
' + - '