Skip to content

Commit

Permalink
Improve mobile home page spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed Jan 5, 2025
1 parent 6eaec38 commit 420e45b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion app/lib/views/files/view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,12 @@ class FilesViewState extends State<FilesView> {
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;
Expand Down
4 changes: 2 additions & 2 deletions app/lib/views/home/start.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -86,7 +86,7 @@ class _QuickstartHomeViewState extends State<_QuickstartHomeView> {
),
],
),
const SizedBox(height: 16),
SizedBox(height: widget.isMobile ? 8 : 16),
FutureBuilder<List<NoteData>>(
future: _templatesFuture,
builder: (context, snapshot) {
Expand Down

0 comments on commit 420e45b

Please sign in to comment.