fix(snack-bar): button not centered inside snack bar on IE11 (#13062)

Fixes the snack bar's button appearing off-center on IE11. The flex styling that has been removed isn't necessary anymore after the recent design changes.
This commit is contained in:
Kristiyan Kostadinov
2018-09-21 19:06:06 +02:00
committed by mmalerba
parent 1d8e9af7aa
commit 4e05745ed6
-4
View File
@@ -20,15 +20,11 @@ $mat-snack-bar-button-vertical-margin:
}
.mat-simple-snackbar-action {
display: flex;
flex-direction: column;
flex-shrink: 0;
justify-content: space-around;
margin: $mat-snack-bar-button-vertical-margin $mat-snack-bar-button-horizontal-margin * -1
$mat-snack-bar-button-vertical-margin $mat-snack-bar-button-horizontal-margin;
button {
flex: 1;
max-height: $mat-snack-bar-button-height;
min-width: 0;
}