mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
mmalerba
parent
1d8e9af7aa
commit
4e05745ed6
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user