Skip to content

Commit

Permalink
Merge pull request #1240 from julien4215/markdown-padding
Browse files Browse the repository at this point in the history
Tweak markdown padding on broadcast overview tab
  • Loading branch information
veloce authored Dec 9, 2024
2 parents 1680719 + 1ca8661 commit 6fb02b3
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions lib/src/view/broadcast/broadcast_overview_tab.dart
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,16 @@ class BroadcastOverviewTab extends ConsumerWidget {
),
],
),
if (description != null)
Padding(
padding: const EdgeInsets.all(16),
child: MarkdownBody(
data: description,
onTapLink: (text, url, title) {
if (url == null) return;
launchUrl(Uri.parse(url));
},
),
if (description != null) ...[
const SizedBox(height: 16),
MarkdownBody(
data: description,
onTapLink: (text, url, title) {
if (url == null) return;
launchUrl(Uri.parse(url));
},
),
],
],
),
);
Expand Down

0 comments on commit 6fb02b3

Please sign in to comment.