fix: Better padding
This commit is contained in:
parent
a07f7a4602
commit
bab82d4a46
1 changed files with 3 additions and 2 deletions
|
|
@ -33,8 +33,9 @@ class OnePageCard extends StatelessWidget {
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
padding: EdgeInsets.symmetric(
|
padding: EdgeInsets.symmetric(
|
||||||
horizontal: max((MediaQuery.of(context).size.width - 600) / 2, 0),
|
horizontal:
|
||||||
vertical: max((MediaQuery.of(context).size.height - 800) / 2, 0),
|
max((MediaQuery.of(context).size.width - 600) / 2, 12),
|
||||||
|
vertical: max((MediaQuery.of(context).size.height - 800) / 2, 12),
|
||||||
),
|
),
|
||||||
child: SafeArea(child: Card(child: child)),
|
child: SafeArea(child: Card(child: child)),
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue