Skip to content

Commit

Permalink
Add some IE specific CSS grid syntax
Browse files Browse the repository at this point in the history
The layout was broken in IE11. Strangely though, autoprefixer should‘ve taken care of most of it as it does in the [next-article app](https://github.com/Financial-Times/next-article/blob/master/client/components/grid/_helpers.scss)

This fixes the more immediate issue however.
  • Loading branch information
benbarnett committed Jan 25, 2019
1 parent d6c0c8e commit 3e9c3bf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion components/x-teaser-timeline/src/TeaserTimeline.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
@include oGridRespondTo($from: M) {
display: grid;
grid-gap: 0 20px;
grid-template: "heading articles" min-content / 1fr 3fr;
grid-template-columns: 1fr 3fr;
grid-template-areas: "heading articles";

}
}

Expand All @@ -22,6 +24,8 @@

@include oGridRespondTo($from: M) {
grid-area: heading;
-ms-grid-row: 1;
-ms-grid-column: 1;
}
}

Expand All @@ -32,6 +36,8 @@

@include oGridRespondTo($from: M) {
grid-area: articles;
-ms-grid-row: 1;
-ms-grid-column: 3;
}
}

Expand Down

0 comments on commit 3e9c3bf

Please sign in to comment.