🐛 Fix inconsistent of margin in post silver list

This commit is contained in:
2025-12-06 20:24:54 +08:00
parent bc7a6e865e
commit 36b0f55a47
2 changed files with 22 additions and 19 deletions

View File

@@ -65,7 +65,10 @@ class SliverPostList extends HookConsumerWidget {
notifier: provider.notifier,
isRefreshable: false,
isSliver: true,
footerSkeletonChild: const PostItemSkeleton(),
footerSkeletonChild: Padding(
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 4),
child: const PostItemSkeleton(),
),
itemBuilder: (context, index, post) {
if (maxWidth != null) {
return Center(