From e2a6d66805bcf08d5af315854bf3084b7b371bf4 Mon Sep 17 00:00:00 2001 From: 21pages Date: Sun, 16 Jun 2024 23:41:40 +0800 Subject: [PATCH] make mobile ab dropdown button text vertical center (#8376) Signed-off-by: 21pages --- flutter/lib/common/widgets/address_book.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/flutter/lib/common/widgets/address_book.dart b/flutter/lib/common/widgets/address_book.dart index d316d4fa2..50bb35dca 100644 --- a/flutter/lib/common/widgets/address_book.dart +++ b/flutter/lib/common/widgets/address_book.dart @@ -110,6 +110,7 @@ class _AddressBookState extends State { } Widget _buildAddressBookMobile() { + const padding = 8.0; return Column( children: [ Offstage( @@ -120,7 +121,8 @@ class _AddressBookState extends State { border: Border.all( color: Theme.of(context).colorScheme.background)), child: Container( - padding: const EdgeInsets.all(8.0), + padding: + const EdgeInsets.fromLTRB(padding, 0, padding, padding), child: Column( mainAxisSize: MainAxisSize.min, children: [