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 22, 2024
1 parent d71a7dd commit 4d54d4e
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 @@ -46,7 +46,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 4d54d4e

Please sign in to comment.