Skip to content

Commit

Permalink
Update code element padding for better selection (fix)
Browse files Browse the repository at this point in the history
  • Loading branch information
shukebeta committed Aug 19, 2024
1 parent a3e63ac commit 1752a9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/screens/components/markdown/code_element_builder.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CodeElementBuilder extends MarkdownElementBuilder {
} else {
// fixing the issue that inline code cannot be selected
return Container(
padding: const EdgeInsets.all(2),
padding: const EdgeInsets.fromLTRB(2, 0, 2, 0),
child: Text(
element.textContent,
style:
Expand Down

0 comments on commit 1752a9f

Please sign in to comment.