Refactor download button: adjust size and padding for improved layout
This commit is contained in:
@@ -330,10 +330,10 @@ class _PublicFileViewerState extends State<PublicFileViewer> {
|
||||
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)),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user