From f51ee0328cee2a8227ed72c38ebd473c15dc225a Mon Sep 17 00:00:00 2001 From: Richard Shiue <71320345+richardshiue@users.noreply.github.com> Date: Fri, 27 Dec 2024 14:20:50 +0800 Subject: [PATCH] chore: fixed width numbers --- .../editor_plugins/numbered_list/numbered_list_icon.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/numbered_list/numbered_list_icon.dart b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/numbered_list/numbered_list_icon.dart index ed04474271520..2f31a68a738b0 100644 --- a/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/numbered_list/numbered_list_icon.dart +++ b/frontend/appflowy_flutter/lib/plugins/document/presentation/editor_plugins/numbered_list/numbered_list_icon.dart @@ -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),