fix: OnePageCard elevation

onboarding
Christian Pauly 4 years ago
parent ca3620f8f7
commit 0ef219866c

@ -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),
), ),

@ -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)),
), ),
); );
} }

Loading…
Cancel
Save