Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

Commit cb59b08

Browse files
fix(css): ie-only fixes updated
@media screen\0 should not be in the `layout-attributes.scss`; these are already contained in `ie_fixes.css`. Fixes #6304.
1 parent bd1cce4 commit cb59b08

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/core/services/layout/layout-attributes.scss

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -136,19 +136,6 @@ $layout-breakpoint-lg: 1920px !default;
136136

137137
[#{$flexName}] { flex: 1; box-sizing: border-box; } // === flex: 1 1 0%;
138138

139-
// IE mediaQuery hack for 8,9,10 to set the flex-basis properly for 'flex' values
140-
// Details:
141-
// Do not use unitless flex-basis values in the flex shorthand because IE 10-11 will error.
142-
// Also use 0% instead of 0px since minifiers will often convert 0px to 0 (which is unitless and will have the same problem).
143-
// Safari, however, fails with flex-basis : 0% and requires flex-basis : 0px
144-
@if $name != '-print' {
145-
@media screen\0 {
146-
[#{$flexName}] {
147-
flex: 1 1 0%;
148-
}
149-
}
150-
}
151-
152139
[#{$flexName}-grow] { flex: 1 1 100%; box-sizing: border-box; }
153140
[#{$flexName}-initial] { flex: 0 1 auto; box-sizing: border-box; }
154141
[#{$flexName}-auto] { flex: 1 1 auto; box-sizing: border-box; }

0 commit comments

Comments
 (0)