From 0ef219866c4c5575aa89b0175edf4fc518c63cc2 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Mon, 31 May 2021 21:17:00 +0200 Subject: [PATCH] fix: OnePageCard elevation --- lib/config/themes.dart | 2 +- lib/widgets/layouts/one_page_card.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/config/themes.dart b/lib/config/themes.dart index 885c5b837..9a9918202 100644 --- a/lib/config/themes.dart +++ b/lib/config/themes.dart @@ -80,7 +80,7 @@ abstract class FluffyThemes { ), ), cardTheme: CardTheme( - elevation: 7, + elevation: 4, shape: RoundedRectangleBorder( borderRadius: BorderRadius.circular(AppConfig.borderRadius), ), diff --git a/lib/widgets/layouts/one_page_card.dart b/lib/widgets/layouts/one_page_card.dart index 7b0c7a180..1499c680a 100644 --- a/lib/widgets/layouts/one_page_card.dart +++ b/lib/widgets/layouts/one_page_card.dart @@ -41,7 +41,7 @@ class OnePageCard extends StatelessWidget { vertical: max((MediaQuery.of(context).size.height - 800) / 2, 12), ), - child: SafeArea(child: Card(elevation: 1, child: child)), + child: SafeArea(child: Card(child: child)), ), ); }