💄 Optimize explore page styles

This commit is contained in:
2025-07-31 01:17:20 +08:00
parent ed90152462
commit f320855348
10 changed files with 145 additions and 137 deletions

View File

@@ -94,9 +94,7 @@ class SliverPostList extends HookConsumerWidget {
final post = data.items[index];
return Column(
children: [_buildPostItem(post), const Divider(height: 1)],
);
return _buildPostItem(post);
},
),
);
@@ -114,7 +112,10 @@ class SliverPostList extends HookConsumerWidget {
onUpdate: onUpdate,
);
case PostItemType.regular:
return PostItem(item: post);
return Card(
margin: EdgeInsets.symmetric(horizontal: 8, vertical: 4),
child: PostActionableItem(item: post, borderRadius: 8),
);
}
}
}