Add max size to events list, fix background blue color issue

This commit is contained in:
Shawn 2022-10-07 11:54:32 -06:00
parent a8e418d983
commit c0ef12e158
2 changed files with 13 additions and 8 deletions

View File

@ -47,7 +47,7 @@ class _EventsListState extends State<_EventsList> {
strength: backdropAmt,
child: IgnorePointer(
child: Container(
color: $styles.colors.greyStrong.withOpacity(backdropAmt * .6),
color: $styles.colors.black.withOpacity(backdropAmt * .6),
),
)),
],

View File

@ -28,14 +28,19 @@ class WonderEvents extends StatelessWidget {
color: $styles.colors.black,
child: SafeArea(
bottom: false,
child: Stack(
children: [
/// Top content, sits underneath scrolling list
_TopContent(data: _data),
child: Center(
child: SizedBox(
width: $styles.sizes.maxContentWidth,
child: Stack(
children: [
/// Top content, sits underneath scrolling list
_TopContent(data: _data),
/// Scrolling Events list, takes up the full view
_EventsList(data: _data),
],
/// Scrolling Events list, takes up the full view
_EventsList(data: _data),
],
),
),
),
),
);