Skip to content

Commit e18e738

Browse files
chrisbobbegnprice
authored andcommitted
choose-account: Put 8px top padding on scrollable content, not its viewport
Fixes: #606
1 parent 47b564b commit e18e738

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
@@ -218,12 +218,13 @@ class ChooseAccountPage extends StatelessWidget {
218218
title: Text(zulipLocalizations.chooseAccountPageTitle),
219219
actions: const [ChooseAccountPageOverflowButton()]),
220220
body: SafeArea(
221-
minimum: const EdgeInsets.all(8),
221+
minimum: const EdgeInsets.fromLTRB(8, 0, 8, 8),
222222
child: Center(
223223
child: ConstrainedBox(
224224
constraints: const BoxConstraints(maxWidth: 400),
225225
child: Column(mainAxisSize: MainAxisSize.min, children: [
226226
Flexible(child: SingleChildScrollView(
227+
padding: const EdgeInsets.only(top: 8),
227228
child: Column(mainAxisSize: MainAxisSize.min, children: [
228229
for (final (:accountId, :account) in globalStore.accountEntries)
229230
_buildAccountItem(context,

0 commit comments

Comments
 (0)