Avatar menu: same side inset as the Files list rows

The card was inset 16px from each screen edge; the list rows are 12px, so it
read as narrower. Now NooSpace.sm, with a test on the account row's width.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Ayushya Amitabh
2026-10-06 21:02:21 -04:00
co-authored by Claude Sonnet 5.5
parent 8805bafb97
commit c5b46fd493
2 changed files with 7 additions and 1 deletions
+3 -1
View File
@@ -79,7 +79,9 @@ class _AvatarMenuContentState extends State<_AvatarMenuContent> {
child: SafeArea(
bottom: false,
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: NooSpace.md),
// Same side inset as the Files list's rows (`NooSpace.sm`), so the
// card is as wide as the list beneath it.
padding: const EdgeInsets.symmetric(horizontal: NooSpace.sm),
child: SizedBox(
width: double.infinity,
child: Container(