📱 Fix post item responsive
This commit is contained in:
parent
f1dbea190b
commit
3f0a7a2227
@ -54,7 +54,7 @@ class _AppNavigationDrawerState extends State<AppNavigationDrawer> {
|
|||||||
],
|
],
|
||||||
).padding(
|
).padding(
|
||||||
horizontal: 32,
|
horizontal: 32,
|
||||||
top: MediaQuery.of(context).padding.top + 8,
|
top: MediaQuery.of(context).padding.top + 12,
|
||||||
bottom: 12,
|
bottom: 12,
|
||||||
),
|
),
|
||||||
...destinations.where((ele) => ele.isPinned).map((ele) {
|
...destinations.where((ele) => ele.isPinned).map((ele) {
|
||||||
|
@ -68,7 +68,7 @@ class PostItem extends StatelessWidget {
|
|||||||
onDeleted: () {
|
onDeleted: () {
|
||||||
if (onDeleted != null) {}
|
if (onDeleted != null) {}
|
||||||
},
|
},
|
||||||
).padding(horizontal: 12, top: 8, bottom: 4),
|
).padding(horizontal: 12, top: 8, bottom: 8),
|
||||||
Container(
|
Container(
|
||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
margin: const EdgeInsets.only(bottom: 4, left: 12, right: 12),
|
margin: const EdgeInsets.only(bottom: 4, left: 12, right: 12),
|
||||||
@ -120,7 +120,7 @@ class PostItem extends StatelessWidget {
|
|||||||
).padding(left: 8, right: 14),
|
).padding(left: 8, right: 14),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
);
|
).center();
|
||||||
}
|
}
|
||||||
|
|
||||||
return Column(
|
return Column(
|
||||||
|
Loading…
Reference in New Issue
Block a user