From 5de1ab0b18bbed33cb383f9606c9d1c695a7f8b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leon=20B=C3=B6sche?= Date: Sun, 25 Jan 2026 03:32:35 +0100 Subject: [PATCH] Refactor download button: adjust size and padding for improved layout --- b0esche_cloud/lib/pages/public_file_viewer.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/b0esche_cloud/lib/pages/public_file_viewer.dart b/b0esche_cloud/lib/pages/public_file_viewer.dart index 3eb6d61..0a0ea6c 100644 --- a/b0esche_cloud/lib/pages/public_file_viewer.dart +++ b/b0esche_cloud/lib/pages/public_file_viewer.dart @@ -330,10 +330,10 @@ class _PublicFileViewerState extends State { leading: _fileData != null ? Padding( padding: const EdgeInsets.only(left: 16, top: 4), - child: SizedBox( - width: 104, - child: ModernGlassButton( - onPressed: _downloadFile, + child: ModernGlassButton( + onPressed: _downloadFile, + child: SizedBox( + width: 80, child: const Center(child: Icon(Icons.download, size: 24)), ), ),