Skip to content

Commit

Permalink
Fix iOS/Safari flex flow
Browse files Browse the repository at this point in the history
  • Loading branch information
Flassari committed Mar 15, 2016
1 parent c0cc44a commit d889ade
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ body {
}

.recipeListItem {
min-width: 164px;
$minWidth: 164px;
min-width: $minWidth;
max-width: 220px;
height: 200px;
flex: 1;
flex: 1 0 $minWidth; // Just 'flex: 1' will break wrapping on iOS.
background: $recipeBackgroundColor;
text-align: center;
margin: 4px;
Expand Down

0 comments on commit d889ade

Please sign in to comment.