Skip to content

Commit b3483a6

Browse files
crisbetojosephperrott
authored andcommittedOct 19, 2018
fix(button-toggle): content shifting in IE11 (#13492)
1 parent 2a3599e commit b3483a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

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

+3
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)
Please sign in to comment.