Skip to content

Commit

Permalink
refactor(sass): fix incorrect sass value, add max width to alert
Browse files Browse the repository at this point in the history
references #5565
  • Loading branch information
brandyscarney committed Mar 3, 2016
1 parent 1e73a34 commit 3d12e69
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ionic/components/alert/alert.wp.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
$alert-wp-backdrop-background: white !default;

$alert-wp-width: 100% !default;
$alert-wp-max-width: 520px !default;
$alert-wp-border-radius: 0 !default;
$alert-wp-border-width: 1px !default;
$alert-wp-border-style: solid !default;
Expand Down Expand Up @@ -55,7 +56,7 @@ $alert-wp-button-group-justify-content: flex-end !default;
$alert-wp-button-group-flex-wrap: wrap-reverse !default;

$alert-wp-button-group-vertical-width: 100% !default;
$alert-wp-button-group-vertical-margin-top: 100% !default;
$alert-wp-button-group-vertical-margin-top: 5px !default;

ion-alert {
.backdrop {
Expand All @@ -65,6 +66,7 @@ ion-alert {

.alert-wrapper {
width: $alert-wp-width;
max-width: $alert-wp-max-width;
border-radius: $alert-wp-border-radius;
background: $alert-wp-background;
border: $alert-wp-border-width $alert-wp-border-style $alert-wp-border-color;
Expand Down

0 comments on commit 3d12e69

Please sign in to comment.