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,31 +8,34 @@ class _LargeSimpleQuote extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MergeSemantics(
child: Padding(
child: CenteredBox(
width: 300,
padding: EdgeInsets.symmetric(horizontal: $styles.insets.lg, vertical: $styles.insets.xl),
child: Column(children: [
FractionalTranslation(
translation: Offset(0, .5),
child: Text(
'',
style: $styles.text.quote1.copyWith(
color: $styles.colors.accent1,
fontSize: 90 * $styles.scale,
height: .7,
child: Column(
children: [
FractionalTranslation(
translation: Offset(0, .5),
child: Text(
'',
style: $styles.text.quote1.copyWith(
color: $styles.colors.accent1,
fontSize: 90 * $styles.scale,
height: .7,
),
),
),
),
Text(
text,
style: $styles.text.quote2,
textAlign: TextAlign.center,
),
Gap($styles.insets.md),
Text(
'- $author',
style: $styles.text.quote2Sub.copyWith(color: $styles.colors.accent1),
),
]),
Text(
text,
style: $styles.text.quote2,
textAlign: TextAlign.center,
),
Gap($styles.insets.md),
Text(
'- $author',
style: $styles.text.quote2Sub.copyWith(color: $styles.colors.accent1),
),
],
),
),
);
}

View File

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