opt: ssh card text overflow

This commit is contained in:
Noo6
2024-08-18 13:57:20 +08:00
parent 0346821cf5
commit 4cecfdf7a8

View File

@@ -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)
],
),