diff --git a/app/lib/views/files/view.dart b/app/lib/views/files/view.dart index 852c22211b56..1d0f338b9dae 100644 --- a/app/lib/views/files/view.dart +++ b/app/lib/views/files/view.dart @@ -714,7 +714,12 @@ class FilesViewState extends State { title: Text(AppLocalizations.of(context).files), actions: actionsChildren, ), - body: SingleChildScrollView(child: content), + body: SingleChildScrollView( + child: Padding( + padding: EdgeInsets.symmetric(horizontal: 8), + child: content, + ), + ), ); } return content; diff --git a/app/lib/views/home/start.dart b/app/lib/views/home/start.dart index 4cdd2977f452..06e739beefa6 100644 --- a/app/lib/views/home/start.dart +++ b/app/lib/views/home/start.dart @@ -58,7 +58,7 @@ class _QuickstartHomeViewState extends State<_QuickstartHomeView> { borderRadius: BorderRadius.circular(24), ), child: Padding( - padding: const EdgeInsets.all(32), + padding: EdgeInsets.all(widget.isMobile ? 12 : 32), child: Column(crossAxisAlignment: CrossAxisAlignment.stretch, children: [ Row( @@ -86,7 +86,7 @@ class _QuickstartHomeViewState extends State<_QuickstartHomeView> { ), ], ), - const SizedBox(height: 16), + SizedBox(height: widget.isMobile ? 8 : 16), FutureBuilder>( future: _templatesFuture, builder: (context, snapshot) {