From 1ca8661d99695b511fe46c7ed4b3e8f59b353a77 Mon Sep 17 00:00:00 2001 From: Julien <120588494+julien4215@users.noreply.github.com> Date: Mon, 9 Dec 2024 11:07:37 +0100 Subject: [PATCH] Tweak markdown padding on broadcast overview tab --- .../broadcast/broadcast_overview_tab.dart | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/lib/src/view/broadcast/broadcast_overview_tab.dart b/lib/src/view/broadcast/broadcast_overview_tab.dart index 94ae982e4f..1f5d60941e 100644 --- a/lib/src/view/broadcast/broadcast_overview_tab.dart +++ b/lib/src/view/broadcast/broadcast_overview_tab.dart @@ -80,17 +80,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)); + }, ), + ], ], ), );