fix: SafeArea on iPad

This commit is contained in:
Christian Pauly 2021-04-09 15:26:23 +02:00
commit c10834f570
2 changed files with 6 additions and 3 deletions

View file

@ -34,7 +34,7 @@ class OnePageCard extends StatelessWidget {
horizontal: max((MediaQuery.of(context).size.width - 600) / 2, 0),
vertical: max((MediaQuery.of(context).size.height - 800) / 2, 0),
),
child: Card(child: child),
child: SafeArea(child: Card(child: child)),
);
}
}