💄 Optimize for large screen
This commit is contained in:
@@ -216,7 +216,7 @@ class MarketplaceStickerPackDetailScreen extends HookConsumerWidget {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Gap(MediaQuery.of(context).padding.bottom),
|
Gap(MediaQuery.of(context).padding.bottom + 16),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
@@ -25,7 +25,7 @@ class PostShuffleScreen extends HookConsumerWidget {
|
|||||||
return cardSwiperController.dispose;
|
return cardSwiperController.dispose;
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const kBottomControlHeight = 96.0;
|
const kBottomControlHeight = 64.0;
|
||||||
|
|
||||||
return AppScaffold(
|
return AppScaffold(
|
||||||
appBar: AppBar(title: const Text('postShuffle').tr()),
|
appBar: AppBar(title: const Text('postShuffle').tr()),
|
||||||
@@ -48,14 +48,19 @@ class PostShuffleScreen extends HookConsumerWidget {
|
|||||||
verticalOffsetPercentage,
|
verticalOffsetPercentage,
|
||||||
) {
|
) {
|
||||||
return Center(
|
return Center(
|
||||||
child: Card(
|
child: ConstrainedBox(
|
||||||
margin: EdgeInsets.zero,
|
constraints: BoxConstraints(maxWidth: 540),
|
||||||
child: ClipRRect(
|
child: SingleChildScrollView(
|
||||||
borderRadius: const BorderRadius.all(
|
child: Card(
|
||||||
Radius.circular(8),
|
margin: EdgeInsets.zero,
|
||||||
),
|
child: ClipRRect(
|
||||||
child: PostActionableItem(
|
borderRadius: const BorderRadius.all(
|
||||||
item: postListState.value!.items[index],
|
Radius.circular(8),
|
||||||
|
),
|
||||||
|
child: PostActionableItem(
|
||||||
|
item: postListState.value!.items[index],
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user