Skip to content

Commit

Permalink
h1/h2 margin
Browse files Browse the repository at this point in the history
  • Loading branch information
dasmikko committed Jan 28, 2023
1 parent a42a8f4 commit 82c651a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/widgets/bbcode/bbcodeRendererNew.dart
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class BBcodeRendererNew extends StatelessWidget {
case 'h1':
spans.add(
TextSpan(
text: node.textContent + '\n\n',
text: node.textContent + '\n',
style: TextStyle(
fontSize: 23,
fontWeight: FontWeight.bold,
Expand All @@ -272,7 +272,7 @@ class BBcodeRendererNew extends StatelessWidget {
case 'h2':
spans.add(
TextSpan(
text: node.textContent + '\n\n',
text: node.textContent + '\n',
style: TextStyle(fontSize: 19, fontWeight: FontWeight.bold),
),
);
Expand Down

0 comments on commit 82c651a

Please sign in to comment.