fix(button-toggle): content shifting in IE11 (#13492)

This commit is contained in:
Kristiyan Kostadinov
2018-10-19 17:09:02 +02:00
committed by Joey Perrott
parent 2a3599e331
commit b3483a67ba
+3
View File
@@ -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;