📱 Fix post item responsive

This commit is contained in:
LittleSheep 2024-12-08 17:03:10 +08:00
parent f1dbea190b
commit 3f0a7a2227
2 changed files with 3 additions and 3 deletions

View File

@ -54,7 +54,7 @@ class _AppNavigationDrawerState extends State<AppNavigationDrawer> {
],
).padding(
horizontal: 32,
top: MediaQuery.of(context).padding.top + 8,
top: MediaQuery.of(context).padding.top + 12,
bottom: 12,
),
...destinations.where((ele) => ele.isPinned).map((ele) {

View File

@ -68,7 +68,7 @@ class PostItem extends StatelessWidget {
onDeleted: () {
if (onDeleted != null) {}
},
).padding(horizontal: 12, top: 8, bottom: 4),
).padding(horizontal: 12, top: 8, bottom: 8),
Container(
width: double.infinity,
margin: const EdgeInsets.only(bottom: 4, left: 12, right: 12),
@ -120,7 +120,7 @@ class PostItem extends StatelessWidget {
).padding(left: 8, right: 14),
],
),
);
).center();
}
return Column(