Skip to content

Commit

Permalink
choose-account: Put 8px top padding on scrollable content, not its vi…
Browse files Browse the repository at this point in the history
…ewport

Fixes: zulip#606
  • Loading branch information
chrisbobbe authored and gnprice committed Apr 2, 2024
1 parent 47b564b commit e18e738
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/widgets/app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e18e738

Please sign in to comment.