💄 Optimize embedded section of chat input

This commit is contained in:
2025-11-22 20:11:01 +08:00
parent 77b2effb34
commit 78f14f890f
3 changed files with 26 additions and 4 deletions

View File

@@ -381,6 +381,10 @@ class _EmbeddedPackSwitcherState extends State<_EmbeddedPackSwitcher> {
return Tooltip(
message: packs[i].name,
child: FilterChip(
visualDensity: const VisualDensity(
horizontal: 0,
vertical: -4,
),
label: Text(packs[i].name, overflow: TextOverflow.ellipsis),
selected: selected,
onSelected: (_) {