💄 Optimize some designs

This commit is contained in:
2025-09-01 23:05:11 +08:00
parent f2d780b48f
commit 4252f66fd3
5 changed files with 64 additions and 15 deletions

View File

@@ -37,7 +37,14 @@ class AccountName extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
spacing: 4,
children: [
Flexible(child: Text(account.nick, style: nameStyle)),
Flexible(
child: Text(
account.nick,
style: nameStyle,
maxLines: 1,
overflow: TextOverflow.ellipsis,
),
),
if (account.perkSubscription != null)
StellarMembershipMark(membership: account.perkSubscription!),
if (account.profile.verification != null)

View File

@@ -60,7 +60,9 @@ class AccountStatusCreationWidget extends HookConsumerWidget {
spacing: 4,
children: [
Icon(Symbols.keyboard_arrow_up),
Text('statusCreateHint').tr(),
Expanded(
child: Text('statusCreateHint', maxLines: 1).tr(),
),
],
),
).opacity(0.85),