mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-04-02 05:56:53 +02:00
fix: Better padding
This commit is contained in:
parent
dac26dd754
commit
c79562f5da
@ -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…
x
Reference in New Issue
Block a user