mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-12-22 21:42:35 +01:00
fix: OnePageCard elevation
This commit is contained in:
parent
e6f3f0bb5e
commit
2421589bcb
@ -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…
Reference in New Issue
Block a user