📱 Fix post item responsive
This commit is contained in:
parent
f1dbea190b
commit
3f0a7a2227
@ -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) {
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user