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 {
height: 48.0
)
),
new Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
new Text(recipe.name, style: titleStyle),
new Text(recipe.author, style: authorStyle),
]
new Flexible(
child: new Column(
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisAlignment: MainAxisAlignment.center,
children: <Widget>[
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