Polish editorial view

This commit is contained in:
Shawn 2022-11-14 15:53:48 -07:00
parent 667108943f
commit 1ab04c0043
2 changed files with 26 additions and 23 deletions

View File

@ -8,9 +8,11 @@ class _LargeSimpleQuote extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return MergeSemantics( return MergeSemantics(
child: Padding( child: CenteredBox(
width: 300,
padding: EdgeInsets.symmetric(horizontal: $styles.insets.lg, vertical: $styles.insets.xl), padding: EdgeInsets.symmetric(horizontal: $styles.insets.lg, vertical: $styles.insets.xl),
child: Column(children: [ child: Column(
children: [
FractionalTranslation( FractionalTranslation(
translation: Offset(0, .5), translation: Offset(0, .5),
child: Text( child: Text(
@ -32,7 +34,8 @@ class _LargeSimpleQuote extends StatelessWidget {
'- $author', '- $author',
style: $styles.text.quote2Sub.copyWith(color: $styles.colors.accent1), style: $styles.text.quote2Sub.copyWith(color: $styles.colors.accent1),
), ),
]), ],
),
), ),
); );
} }

View File

@ -40,7 +40,7 @@ class HomeMenu extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
final double gridWidth = (context.heightPx / 2).clamp(200, 450); final double gridWidth = (context.heightPx / 2).clamp(200, 350);
return Stack( return Stack(
children: [ children: [
/// Backdrop / Underlay /// Backdrop / Underlay