Commit 5c2623d9 authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

Fix overflow of text on Pesto recipe cards (#5192)

parent 39be1c37
...@@ -251,14 +251,16 @@ class _RecipeCard extends StatelessWidget { ...@@ -251,14 +251,16 @@ class _RecipeCard extends StatelessWidget {
height: 48.0 height: 48.0
) )
), ),
new Column( new Flexible(
child: new Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center, mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[ children: <Widget>[
new Text(recipe.name, style: titleStyle), new Text(recipe.name, style: titleStyle, softWrap: false, overflow: TextOverflow.ellipsis),
new Text(recipe.author, style: authorStyle), new Text(recipe.author, style: authorStyle),
] ]
) )
)
] ]
) )
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment