diff --git a/lib/styles/styles.dart b/lib/styles/styles.dart index 966452b0..87a7df2b 100644 --- a/lib/styles/styles.dart +++ b/lib/styles/styles.dart @@ -85,7 +85,7 @@ class _Text { late final TextStyle bodySmall = copy(contentFont, sizePx: 14, heightPx: 23); late final TextStyle bodySmallBold = copy(contentFont, sizePx: 14, heightPx: 23, weight: FontWeight.w600); - late final TextStyle quote1 = copy(quoteFont, sizePx: 36, heightPx: 40, weight: FontWeight.w600, spacingPc: -3); + late final TextStyle quote1 = copy(quoteFont, sizePx: 32, heightPx: 40, weight: FontWeight.w600, spacingPc: -3); late final TextStyle quote2 = copy(quoteFont, sizePx: 21, heightPx: 32, weight: FontWeight.w400); late final TextStyle quote2Sub = copy(body, sizePx: 16, heightPx: 40, weight: FontWeight.w400); diff --git a/lib/ui/screens/editorial/widgets/_collapsing_pull_quote_image.dart b/lib/ui/screens/editorial/widgets/_collapsing_pull_quote_image.dart index 3b24528e..6b0b0afb 100644 --- a/lib/ui/screens/editorial/widgets/_collapsing_pull_quote_image.dart +++ b/lib/ui/screens/editorial/widgets/_collapsing_pull_quote_image.dart @@ -16,11 +16,7 @@ class _CollapsingPullQuoteImage extends StatelessWidget { /// A single piece of quote text, this widget has one on top, and one on bottom Widget buildText(String value, double collapseAmt, {required bool top, bool isAuthor = false}) { var quoteStyle = $styles.text.quote1; - var quoteSize = quoteStyle.fontSize; - quoteStyle = quoteStyle.copyWith( - color: $styles.colors.caption, - fontSize: (quoteSize ??= 36), //dynamic font size for more consistent quote layout - ); + quoteStyle = quoteStyle.copyWith(color: $styles.colors.caption); if (isAuthor) { quoteStyle = quoteStyle.copyWith(fontSize: 20, fontWeight: FontWeight.w600); }