fix: OnePageCard elevation

This commit is contained in:
Christian Pauly 2021-05-31 21:17:00 +02:00
parent e6f3f0bb5e
commit 2421589bcb
2 changed files with 2 additions and 2 deletions

View File

@ -80,7 +80,7 @@ abstract class FluffyThemes {
), ),
), ),
cardTheme: CardTheme( cardTheme: CardTheme(
elevation: 7, elevation: 4,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(AppConfig.borderRadius), borderRadius: BorderRadius.circular(AppConfig.borderRadius),
), ),

View File

@ -41,7 +41,7 @@ class OnePageCard extends StatelessWidget {
vertical: vertical:
max((MediaQuery.of(context).size.height - 800) / 2, 12), max((MediaQuery.of(context).size.height - 800) / 2, 12),
), ),
child: SafeArea(child: Card(elevation: 1, child: child)), child: SafeArea(child: Card(child: child)),
), ),
); );
} }