Fixed text overflow on trending page

This commit is contained in:
Satoshi Nagasaka 2020-02-13 18:46:07 +09:00 committed by Rongjian Zhang
parent 0a18c67eb8
commit 3218d7fd4a
1 changed files with 9 additions and 6 deletions

View File

@ -60,12 +60,15 @@ class GhTrendingScreen extends StatelessWidget {
color: theme.palette.secondaryText, color: theme.palette.secondaryText,
), ),
SizedBox(width: 4), SizedBox(width: 4),
Text( Expanded(
child: Text(
'${v.username} / ${v.repo.name}', '${v.username} / ${v.repo.name}',
style: TextStyle( style: TextStyle(
fontSize: 17, fontSize: 17,
color: theme.palette.secondaryText, color: theme.palette.secondaryText,
), ),
overflow: TextOverflow.ellipsis,
)
) )
], ],
), ),