Skip to content

Commit

Permalink
opt: ssh card text overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
No06 committed Aug 18, 2024
1 parent 0346821 commit 4cecfdf
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions lib/view/page/ssh/tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,15 @@ class _SSHTabPageState extends State<SSHTabPage>
alignment: Alignment.centerLeft,
padding: const EdgeInsets.only(left: 17, right: 7),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text(spi.name, style: UIs.text18),
Expanded(
child: Text(
spi.name,
style: UIs.text18,
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
),
const Icon(Icons.chevron_right)
],
),
Expand Down

0 comments on commit 4cecfdf

Please sign in to comment.