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, strength: backdropAmt,
child: IgnorePointer( child: IgnorePointer(
child: Container( 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, color: $styles.colors.black,
child: SafeArea( child: SafeArea(
bottom: false, bottom: false,
child: Stack( child: Center(
children: [ child: SizedBox(
/// Top content, sits underneath scrolling list width: $styles.sizes.maxContentWidth,
_TopContent(data: _data), child: Stack(
children: [
/// Top content, sits underneath scrolling list
_TopContent(data: _data),
/// Scrolling Events list, takes up the full view /// Scrolling Events list, takes up the full view
_EventsList(data: _data), _EventsList(data: _data),
], ],
),
),
), ),
), ),
); );