fix: user item text overflow

This commit is contained in:
Rongjian Zhang
2020-10-08 17:13:29 +08:00
parent 70b2dd4bb0
commit 168dcd1d2e
+8 -5
View File
@@ -79,11 +79,14 @@ class UserItem extends StatelessWidget {
),
SizedBox(width: 8),
],
Text(
login,
style: TextStyle(
color: theme.palette.text,
fontSize: 16,
Expanded(
child: Text(
login,
style: TextStyle(
color: theme.palette.text,
fontSize: 16,
),
overflow: TextOverflow.ellipsis,
),
),
],