Skip to content

Commit

Permalink
fix(button-toggle): content shifting in IE11 (#13492)
Browse files Browse the repository at this point in the history
  • Loading branch information
crisbeto authored and josephperrott committed Oct 19, 2018
1 parent 1d87b4c commit 7f5cbe3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib/button-toggle/button-toggle.scss
Expand Up @@ -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;
Expand Down

0 comments on commit 7f5cbe3

Please sign in to comment.