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,6 +28,9 @@ class WonderEvents extends StatelessWidget {
color: $styles.colors.black, color: $styles.colors.black,
child: SafeArea( child: SafeArea(
bottom: false, bottom: false,
child: Center(
child: SizedBox(
width: $styles.sizes.maxContentWidth,
child: Stack( child: Stack(
children: [ children: [
/// Top content, sits underneath scrolling list /// Top content, sits underneath scrolling list
@ -38,6 +41,8 @@ class WonderEvents extends StatelessWidget {
], ],
), ),
), ),
),
),
); );
}); });
} }