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,13 +251,15 @@ class _RecipeCard extends StatelessWidget { ...@@ -251,13 +251,15 @@ class _RecipeCard extends StatelessWidget {
height: 48.0 height: 48.0
) )
), ),
new Column( new Flexible(
crossAxisAlignment: CrossAxisAlignment.start, child: new Column(
mainAxisAlignment: MainAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.start,
children: <Widget>[ mainAxisAlignment: MainAxisAlignment.center,
new Text(recipe.name, style: titleStyle), children: <Widget>[
new Text(recipe.author, style: authorStyle), new Text(recipe.name, style: titleStyle, softWrap: false, overflow: TextOverflow.ellipsis),
] 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