Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

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

21pagese2a6d66805bc
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<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: [