From 1752a9f7f423541048398912d207f0423497847c Mon Sep 17 00:00:00 2001 From: DW at xps Date: Mon, 19 Aug 2024 18:37:54 +1200 Subject: [PATCH] Update code element padding for better selection (fix) --- lib/screens/components/markdown/code_element_builder.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/components/markdown/code_element_builder.dart b/lib/screens/components/markdown/code_element_builder.dart index 6663e73..7618916 100644 --- a/lib/screens/components/markdown/code_element_builder.dart +++ b/lib/screens/components/markdown/code_element_builder.dart @@ -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: