mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 19:17:58 +00:00
mobile peers tab padding
This commit is contained in:
@@ -80,6 +80,7 @@ class _PeerTabPageState extends State<PeerTabPage>
|
||||
SizedBox(
|
||||
height: 28,
|
||||
child: Container(
|
||||
padding: isDesktop ? null : EdgeInsets.symmetric(horizontal: 2),
|
||||
constraints: isDesktop ? null : kMobilePageConstraints,
|
||||
child: Row(
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user