Skip to content

Commit

Permalink
Adjusted superscript vertical position (#1205)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjiangsu authored Mar 15, 2024
1 parent 187d846 commit af62b04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/shared/common_markdown_body.dart
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ class SuperscriptSubscriptWidget extends StatelessWidget {
children: [
WidgetSpan(
child: Transform.translate(
offset: Offset(0.0, type == CustomMarkdownType.subscript ? 3.0 : -10.0),
offset: Offset(0.0, type == CustomMarkdownType.subscript ? 3.0 : -5.0),
child: ScalableText(
text,
fontScale: state.contentFontSizeScale,
Expand Down

0 comments on commit af62b04

Please sign in to comment.