Skip to content

Commit 7f5cbe3

Browse files
crisbetojosephperrott
authored andcommitted
fix(button-toggle): content shifting in IE11 (#13492)
1 parent 1d87b4c commit 7f5cbe3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/button-toggle/button-toggle.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ $mat-button-toggle-legacy-border-radius: 2px !default;
8686
line-height: $mat-button-toggle-legacy-height;
8787
padding: $mat-button-toggle-legacy-padding;
8888

89+
// Prevents IE from shifting the content on click.
90+
position: relative;
91+
8992
.mat-button-toggle-appearance-standard & {
9093
line-height: $mat-button-toggle-standard-height;
9194
padding: $mat-button-toggle-standard-padding;

0 commit comments

Comments
 (0)