Skip to content

Commit a5c1d0f

Browse files
committed
fix(gh): user description overflow
1 parent b2a7add commit a5c1d0f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/screens/gh_users.dart

+5-3
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class GhUsersScreen extends StatelessWidget {
107107
color: theme.palette.secondaryText,
108108
),
109109
SizedBox(width: 4),
110-
Text(company),
110+
Expanded(child: Text(company, overflow: TextOverflow.ellipsis)),
111111
],
112112
);
113113
}
@@ -120,7 +120,7 @@ class GhUsersScreen extends StatelessWidget {
120120
color: theme.palette.secondaryText,
121121
),
122122
SizedBox(width: 4),
123-
Text(location),
123+
Expanded(child: Text(location, overflow: TextOverflow.ellipsis)),
124124
],
125125
);
126126
}
@@ -132,7 +132,9 @@ class GhUsersScreen extends StatelessWidget {
132132
color: theme.palette.secondaryText,
133133
),
134134
SizedBox(width: 4),
135-
Text('Joined on ${dateFormat.format(createdAt)}'),
135+
Expanded(
136+
child: Text('Joined on ${dateFormat.format(createdAt)}',
137+
overflow: TextOverflow.ellipsis)),
136138
],
137139
);
138140
}

0 commit comments

Comments
 (0)