}
&.tripleColumned > li {
- flex: 0 0 calc(100% / 3);
- /* work-around for IE10 */
- width: calc(100% / 3);
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(100% / 3);
&:nth-child(3n+1):nth-last-child(-n+3),
&:nth-child(3n+1):nth-last-child(-n+3) ~ li {
}
&.tripleColumned > li {
- flex: 0 0 calc(100% / 3);
- /* work-around for IE10 */
- width: calc(100% / 3);
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(100% / 3);
}
}
}
@include screen-lg {
.articleList {
> li {
- flex: 0 0 calc(100%/3 - 10px);
- max-width: calc(100%/3 - 10px);
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(100% / 3 - 10px);
}
}
.boxFullWidth {
.articleList {
> li {
- flex: 0 0 calc(100%/6 - 10px);
- max-width: calc(100%/6 - 10px);
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(100% / 6 - 10px);
}
}
}
@include screen-sm-up {
.articleList {
> li {
- flex: 0 0 calc(100%/3 - 10px);
- max-width: calc(100%/3 - 10px);
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(100% / 3 - 10px);
}
}
}
items to be exactly 1 pixel wider than the available space.
Reserving 21px covers all sort of rounding errors, without
being visually noticeable */
- flex: 0 0 calc(50% - 21px);
- max-width: calc(50% - 21px); /* IE fix */
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(50% - 21px);
margin-right: 20px;
}
}
}
.contentItemSingleColumn {
- flex: 0 0 calc(100% - 20px);
- max-width: calc(100% - 20px); /* IE 11 */
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(100% - 20px);
}
.contentItemMultiColumn {
- flex: 0 0 calc(50% - 20px);
- max-width: calc(50% - 20px); /* IE 11 */
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(50% - 20px);
}
.contentItemLink {
/* There are no sidebars, use a three column layout. */
.content:first-child:last-child {
.contentItemMultiColumn {
- flex: 0 0 calc(100% / 3 - 20px);
- max-width: calc(100% / 3 - 20px); /* IE 11 */
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(100% / 3 - 20px);
}
}
}
@include screen-md {
/* The sidebar, if any, is not adjacent to the content, use a three column layout. */
.contentItemMultiColumn {
- flex: 0 0 calc(100% / 3 - 20px);
- max-width: calc(100% / 3 - 20px); /* IE 11 */
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(100% / 3 - 20px);
}
}
items to be exactly 1 pixel wider than the available space.
Reserving 21px covers all sort of rounding errors, without
being visually noticeable */
- flex: 0 0 calc(50% - 21px);
- max-width: calc(50% - 21px); /* IE fix */
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(50% - 21px);
margin-right: 20px;
}
}
top: 0;
}
}
-}
\ No newline at end of file
+}
}
.contentHeaderTitle {
- flex: 0 0 calc(100% - 111px);
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(100% - 111px);
max-width: calc(100% - 11px);
}
}
}
.contentHeaderTitle {
- flex: 0 0 calc(100% - 58px);
- max-width: calc(100% - 58px);
+ /* The `flex` shorthand fails in IE11 if `calc()` is used. */
+ flex-grow: 0;
+ flex-shrink: 0;
+ flex-basis: calc(100% - 58px);
}
.contentHeaderNavigation {