Rollback to old style attachment list

This commit is contained in:
2025-01-21 12:12:21 +08:00
parent 19076f8136
commit bb7b731602
4 changed files with 135 additions and 127 deletions

View File

@ -256,9 +256,8 @@ class PostItem extends StatelessWidget {
AttachmentList(
data: displayableAttachments!,
bordered: true,
gridded: true,
maxHeight: showFullPost ? null : 480,
minWidth: 640,
maxWidth: MediaQuery.of(context).size.width - 20,
fit: showFullPost ? BoxFit.cover : BoxFit.contain,
padding: const EdgeInsets.symmetric(horizontal: 12),
),