mirror of
https://github.com/flutter/holobooth.git
synced 2025-05-17 13:25:59 +08:00
chore: max size for mobile (#394)
This commit is contained in:
@ -33,8 +33,11 @@ class _SmallLandingBody extends StatelessWidget {
|
||||
const SizedBox(height: 34),
|
||||
Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16),
|
||||
child: Assets.backgrounds.holobooth.image(
|
||||
key: LandingBody.landingPageImageKey,
|
||||
child: ConstrainedBox(
|
||||
constraints: const BoxConstraints(maxHeight: 500),
|
||||
child: Assets.backgrounds.holobooth.image(
|
||||
key: LandingBody.landingPageImageKey,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
@ -56,8 +59,14 @@ class _LargeLandingBody extends StatelessWidget {
|
||||
Row(
|
||||
children: [
|
||||
Expanded(
|
||||
child: Assets.backgrounds.holobooth.image(
|
||||
key: LandingBody.landingPageImageKey,
|
||||
child: Container(
|
||||
alignment: Alignment.center,
|
||||
child: ConstrainedBox(
|
||||
constraints: const BoxConstraints(maxHeight: 850),
|
||||
child: Assets.backgrounds.holobooth.image(
|
||||
key: LandingBody.landingPageImageKey,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 32),
|
||||
|
Reference in New Issue
Block a user