mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
refactor(sass): fix incorrect sass value, add max width to alert
references #5565
This commit is contained in:
@@ -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;
|
||||
@@ -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 {
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user