Skip to content

Commit 4e05745

Browse files
crisbetommalerba
authored andcommitted
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.
1 parent 1d8e9af commit 4e05745

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/lib/snack-bar/simple-snack-bar.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,11 @@ $mat-snack-bar-button-vertical-margin:
2020
}
2121

2222
.mat-simple-snackbar-action {
23-
display: flex;
24-
flex-direction: column;
2523
flex-shrink: 0;
26-
justify-content: space-around;
2724
margin: $mat-snack-bar-button-vertical-margin $mat-snack-bar-button-horizontal-margin * -1
2825
$mat-snack-bar-button-vertical-margin $mat-snack-bar-button-horizontal-margin;
2926

3027
button {
31-
flex: 1;
3228
max-height: $mat-snack-bar-button-height;
3329
min-width: 0;
3430
}

0 commit comments

Comments
 (0)