File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
packages/core/src/global/material-grid Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 86
86
width : calc (#{$percent } - #{$gutter } );
87
87
width : calc (#{$percent } - var (--mdc-layout-grid-gutter - #{$size } , #{$gutter } ));
88
88
89
+ // fallback for IE11 gutter (grid-gap doesn't work in IE11)
90
+ margin : 0 $gutter / 2 ;
91
+ margin : 0 calc (var (--mdc-layout-grid-gutter - #{$size } , #{$gutter } ) / 2 );
92
+
89
93
@supports (display : grid ) {
90
94
width : auto ;
91
95
grid-column-end : span min ($span , map-get ($mdc-layout-grid-columns , $size ));
96
+
97
+ // fallback for IE11 gutter (grid-gap doesn't work in IE11)
98
+ margin : 0 ;
92
99
}
93
100
}
94
101
140
147
@include mdc-layout-grid-cell-span_ ($size , $default-span , $gutter );
141
148
142
149
box-sizing : border-box ;
143
- margin : $gutter / 2 ;
144
- margin : calc (var (--mdc-layout-grid-gutter - #{$size } , #{$gutter } ) / 2 );
145
-
146
- @supports (display : grid ) {
147
- margin : 0 ;
148
- }
149
150
}
150
151
151
152
@mixin mdc-layout-grid-cell-order ($order ) {
You can’t perform that action at this time.
0 commit comments