mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2025-01-11 18:22:49 +01:00
fix: Better padding
This commit is contained in:
parent
dac26dd754
commit
c79562f5da
@ -33,8 +33,9 @@ class OnePageCard extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: max((MediaQuery.of(context).size.width - 600) / 2, 0),
|
||||
vertical: max((MediaQuery.of(context).size.height - 800) / 2, 0),
|
||||
horizontal:
|
||||
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)),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user