diff --git a/flutter/lib/common/widgets/peer_tab_page.dart b/flutter/lib/common/widgets/peer_tab_page.dart index c1151088d..fefe74671 100644 --- a/flutter/lib/common/widgets/peer_tab_page.dart +++ b/flutter/lib/common/widgets/peer_tab_page.dart @@ -80,6 +80,7 @@ class _PeerTabPageState extends State SizedBox( height: 28, child: Container( + padding: isDesktop ? null : EdgeInsets.symmetric(horizontal: 2), constraints: isDesktop ? null : kMobilePageConstraints, child: Row( crossAxisAlignment: CrossAxisAlignment.center, diff --git a/flutter/lib/common/widgets/peercard_widget.dart b/flutter/lib/common/widgets/peercard_widget.dart index 2cb451974..2e9c1c080 100644 --- a/flutter/lib/common/widgets/peercard_widget.dart +++ b/flutter/lib/common/widgets/peercard_widget.dart @@ -64,7 +64,7 @@ class _PeerCardState extends State<_PeerCard> Widget _buildMobile() { final peer = super.widget.peer; return Card( - margin: EdgeInsets.zero, + margin: EdgeInsets.symmetric(horizontal: 2), child: GestureDetector( onTap: !isWebDesktop ? () => connect(context, peer.id) : null, onDoubleTap: isWebDesktop ? () => connect(context, peer.id) : null, diff --git a/flutter/lib/mobile/pages/connection_page.dart b/flutter/lib/mobile/pages/connection_page.dart index 83e26547a..1377088c7 100644 --- a/flutter/lib/mobile/pages/connection_page.dart +++ b/flutter/lib/mobile/pages/connection_page.dart @@ -89,7 +89,7 @@ class _ConnectionPageState extends State { const AddressBook(), ], )), - ]).marginOnly(top: 2, left: 12, right: 12); + ]).marginOnly(top: 2, left: 10, right: 10); } /// Callback for the connect button. @@ -158,7 +158,7 @@ class _ConnectionPageState extends State { final w = SizedBox( height: 84, child: Padding( - padding: const EdgeInsets.only(top: 8, bottom: 8), + padding: const EdgeInsets.symmetric(vertical: 8, horizontal: 2), child: Ink( decoration: const BoxDecoration( color: MyTheme.white,