mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(button-toggle): content shifting in IE11 (#13492)
This commit is contained in:
committed by
Joey Perrott
parent
2a3599e331
commit
b3483a67ba
@@ -86,6 +86,9 @@ $mat-button-toggle-legacy-border-radius: 2px !default;
|
||||
line-height: $mat-button-toggle-legacy-height;
|
||||
padding: $mat-button-toggle-legacy-padding;
|
||||
|
||||
// Prevents IE from shifting the content on click.
|
||||
position: relative;
|
||||
|
||||
.mat-button-toggle-appearance-standard & {
|
||||
line-height: $mat-button-toggle-standard-height;
|
||||
padding: $mat-button-toggle-standard-padding;
|
||||
|
||||
Reference in New Issue
Block a user