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,
),
SizedBox(width: 4),
Text(
'${v.username} / ${v.repo.name}',
style: TextStyle(
fontSize: 17,
color: theme.palette.secondaryText,
),
Expanded(
child: Text(
'${v.username} / ${v.repo.name}',
style: TextStyle(
fontSize: 17,
color: theme.palette.secondaryText,
),
overflow: TextOverflow.ellipsis,
)
)
],
),