Skip to content

Commit

Permalink
Merge pull request #16 from felics/fix-ie-reverse
Browse files Browse the repository at this point in the history
Workaround for IE wrap-reverse
  • Loading branch information
felics committed Mar 23, 2015
2 parents de45952 + 75bd1cd commit 2ebc265
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hagrid",
"version": "0.9.2",
"version": "0.9.3",
"authors": [
"felics <[email protected]>"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hagrid",
"version": "0.9.2",
"version": "0.9.3",
"repository": {
"type": "git",
"url": "https://github.com/felics/hagrid"
Expand Down
10 changes: 8 additions & 2 deletions src/hagrid/_modifiers.scss
Original file line number Diff line number Diff line change
Expand Up @@ -198,14 +198,20 @@

@else if $modifier == y-rev {
flex-flow: row wrap-reverse;

// * Workaround for IE rendering diff, see: https://github.com/felics/hagrid/issues/13
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
align-items: flex-end;
}
@if $hagrid-fallback and $hagrid-fallback-warnings {
@warn "Modifier #{$modifier} won't work on fallback-grid!"
}
}

@else if $modifier == rev {

// * Workaround for IE rendering diff, see: https://github.com/felics/hagrid/issues/13
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
align-items: flex-end;
}
@if $hagrid-fallback {
flex-flow: row wrap-reverse;
direction: rtl;
Expand Down

0 comments on commit 2ebc265

Please sign in to comment.