1 parent c0cc44a commit d889adeCopy full SHA for d889ade
1 file changed
app/style.scss
@@ -17,10 +17,11 @@ body {
17
}
18
19
.recipeListItem {
20
- min-width: 164px;
+ $minWidth: 164px;
21
+ min-width: $minWidth;
22
max-width: 220px;
23
height: 200px;
- flex: 1;
24
+ flex: 1 0 $minWidth; // Just 'flex: 1' will break wrapping on iOS.
25
background: $recipeBackgroundColor;
26
text-align: center;
27
margin: 4px;
0 commit comments