make mobile ab dropdown button text vertical center (#8376)

Signed-off-by: 21pages <sunboeasy@gmail.com>
This commit is contained in:
21pages 2024-06-16 23:41:40 +08:00 committed by GitHub
parent 8d6de9ca59
commit e2a6d66805
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,6 +110,7 @@ class _AddressBookState extends State<AddressBook> {
}
Widget _buildAddressBookMobile() {
const padding = 8.0;
return Column(
children: [
Offstage(
@ -120,7 +121,8 @@ class _AddressBookState extends State<AddressBook> {
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: [