mirror of
https://github.com/git-touch/git-touch
synced 2024-12-19 11:43:30 +01:00
fix: text overflow
This commit is contained in:
parent
917fd86c9a
commit
765bc23b5b
@ -73,31 +73,34 @@ class RepositoryItem extends StatelessWidget {
|
||||
linkUrl: '/$owner',
|
||||
),
|
||||
SizedBox(width: 8),
|
||||
Row(
|
||||
children: <Widget>[
|
||||
Text(
|
||||
owner + ' / ',
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: theme.paletteOf(context).primary,
|
||||
Expanded(
|
||||
child: Text.rich(
|
||||
TextSpan(children: [
|
||||
TextSpan(
|
||||
text: '$owner / ',
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: theme.paletteOf(context).primary,
|
||||
),
|
||||
),
|
||||
),
|
||||
Text(
|
||||
name,
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: theme.paletteOf(context).primary,
|
||||
fontWeight: FontWeight.w600,
|
||||
TextSpan(
|
||||
text: name,
|
||||
style: TextStyle(
|
||||
fontSize: 18,
|
||||
color: theme.paletteOf(context).primary,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
// overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
],
|
||||
]),
|
||||
overflow: TextOverflow.ellipsis,
|
||||
),
|
||||
),
|
||||
if (iconData != null) ...[
|
||||
SizedBox(width: 6),
|
||||
DefaultTextStyle(
|
||||
child: Icon(iconData,
|
||||
size: 16,
|
||||
size: 18,
|
||||
color: theme.paletteOf(context).secondaryText),
|
||||
style: TextStyle(
|
||||
color: theme.paletteOf(context).secondaryText),
|
||||
|
Loading…
Reference in New Issue
Block a user