Skip to content

Commit

Permalink
chore: fixed width numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
richardshiue committed Dec 27, 2024
1 parent 0bdaa1e commit f51ee03
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ class NumberedListIcon extends StatelessWidget {
textStyleConfiguration.text.height ?? textStyleConfiguration.lineHeight;
final combinedTextStyle = textStyle?.combine(textStyleConfiguration.text) ??
textStyleConfiguration.text;
final adjustedTextStyle = combinedTextStyle.copyWith(height: height);
final adjustedTextStyle = combinedTextStyle.copyWith(
height: height,
fontFeatures: [const FontFeature.tabularFigures()],
);

return Padding(
padding: const EdgeInsets.only(right: 8.0),
Expand Down

0 comments on commit f51ee03

Please sign in to comment.