From e18e7386ea8c9d2b5e1dd2d1e65d5ea2221c28d8 Mon Sep 17 00:00:00 2001 From: Chris Bobbe Date: Fri, 29 Mar 2024 15:19:56 -0700 Subject: [PATCH] choose-account: Put 8px top padding on scrollable content, not its viewport Fixes: #606 --- lib/widgets/app.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/widgets/app.dart b/lib/widgets/app.dart index dce9a1a64a..49b8f202e2 100644 --- a/lib/widgets/app.dart +++ b/lib/widgets/app.dart @@ -218,12 +218,13 @@ class ChooseAccountPage extends StatelessWidget { title: Text(zulipLocalizations.chooseAccountPageTitle), actions: const [ChooseAccountPageOverflowButton()]), body: SafeArea( - minimum: const EdgeInsets.all(8), + minimum: const EdgeInsets.fromLTRB(8, 0, 8, 8), child: Center( child: ConstrainedBox( constraints: const BoxConstraints(maxWidth: 400), child: Column(mainAxisSize: MainAxisSize.min, children: [ Flexible(child: SingleChildScrollView( + padding: const EdgeInsets.only(top: 8), child: Column(mainAxisSize: MainAxisSize.min, children: [ for (final (:accountId, :account) in globalStore.accountEntries) _buildAccountItem(context,