Skip to content

Commit

Permalink
Interim 146 - IE fix for megapanels (#162)
Browse files Browse the repository at this point in the history
* INTERIM-146

Fixed the flex shorthand property to work better with IE 11.

* INTERIM-146 Adjusted the media query because the flex shorthand wasn't catching a strange in between browser width for rows of three items.
  • Loading branch information
sacarney authored and angelamnr committed Jan 25, 2018
1 parent 1133f65 commit 1dd098d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css/suitcase.css
Original file line number Diff line number Diff line change
Expand Up @@ -1477,7 +1477,7 @@ in the panel settings */
}

.megapanels-pane {
flex: 1 1 250px;
flex: 1 1 0px;
min-width: 250px;
margin: 0 0.5rem;
margin-bottom: 1rem;
Expand Down Expand Up @@ -1510,7 +1510,7 @@ in the panel settings */
}
}

@media (max-width: 829px) and (min-width: 548px) {
@media (max-width: 850px) and (min-width: 548px) {

.megapanels-pane:first-child:nth-last-child(3),
.megapanels-pane:first-child:nth-last-child(3) ~ .megapanels-pane {
Expand Down

0 comments on commit 1dd098d

Please sign in to comment.