mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt: ssh card text overflow
This commit is contained in:
@@ -105,9 +105,15 @@ class _SSHTabPageState extends State<SSHTabPage>
|
|||||||
alignment: Alignment.centerLeft,
|
alignment: Alignment.centerLeft,
|
||||||
padding: const EdgeInsets.only(left: 17, right: 7),
|
padding: const EdgeInsets.only(left: 17, right: 7),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
||||||
children: [
|
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)
|
const Icon(Icons.chevron_right)
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user