Skip to content

Commit e0a7881

Browse files
committed
choose-account: Put 8px top padding on scrollable content, not its viewport
Fixes: #606
1 parent e6c531a commit e0a7881

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/widgets/app.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,12 +190,13 @@ class ChooseAccountPage extends StatelessWidget {
190190
title: Text(zulipLocalizations.chooseAccountPageTitle),
191191
actions: const [ChooseAccountPageOverflowButton()]),
192192
body: SafeArea(
193-
minimum: const EdgeInsets.all(8),
193+
minimum: const EdgeInsets.fromLTRB(8, 0, 8, 8),
194194
child: Center(
195195
child: ConstrainedBox(
196196
constraints: const BoxConstraints(maxWidth: 400),
197197
child: Column(mainAxisSize: MainAxisSize.min, children: [
198198
Flexible(child: SingleChildScrollView(
199+
padding: const EdgeInsets.only(top: 8),
199200
child: Column(mainAxisSize: MainAxisSize.min, children: [
200201
for (final (:accountId, :account) in globalStore.accountEntries)
201202
_buildAccountItem(context,

0 commit comments

Comments
 (0)