Skip to content

Commit

Permalink
content: Remove TextBaseline.alphabetic from plain-paragraph style
Browse files Browse the repository at this point in the history
I'm not sure if this actually improves how we show non-alphabetic
text in any cases at all (so I'm not sure if it's NFC), but anyway,
hard-coding this attribute here or anywhere has a smell of being
counterproductive for i18n; remove it.
  • Loading branch information
chrisbobbe committed May 24, 2024
1 parent ee58ecd commit 85e9cb5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/widgets/content.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ class ContentTheme extends ThemeExtension<ContentTheme> {
color: const HSLColor.fromAHSL(1, 0, 0, 0.15).toColor(),
fontSize: kBaseFontSize,
letterSpacing: 0,
textBaseline: TextBaseline.alphabetic,
height: (22 / kBaseFontSize),
leadingDistribution: TextLeadingDistribution.even,
decoration: TextDecoration.none,
Expand Down

0 comments on commit 85e9cb5

Please sign in to comment.