fix(gh): user description overflow

This commit is contained in:
Rongjian Zhang 2020-04-05 22:32:42 +08:00
parent b2a7add3ec
commit a5c1d0f5ba
1 changed files with 5 additions and 3 deletions

View File

@ -107,7 +107,7 @@ class GhUsersScreen extends StatelessWidget {
color: theme.palette.secondaryText,
),
SizedBox(width: 4),
Text(company),
Expanded(child: Text(company, overflow: TextOverflow.ellipsis)),
],
);
}
@ -120,7 +120,7 @@ class GhUsersScreen extends StatelessWidget {
color: theme.palette.secondaryText,
),
SizedBox(width: 4),
Text(location),
Expanded(child: Text(location, overflow: TextOverflow.ellipsis)),
],
);
}
@ -132,7 +132,9 @@ class GhUsersScreen extends StatelessWidget {
color: theme.palette.secondaryText,
),
SizedBox(width: 4),
Text('Joined on ${dateFormat.format(createdAt)}'),
Expanded(
child: Text('Joined on ${dateFormat.format(createdAt)}',
overflow: TextOverflow.ellipsis)),
],
);
}