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