Skip to content

Commit

Permalink
Tweak markdown padding on broadcast overview tab
Browse files Browse the repository at this point in the history
  • Loading branch information
julien4215 committed Dec 9, 2024
1 parent 64daba1 commit 1ca8661
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 @@ -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));
},
),
],
],
),
);
Expand Down

0 comments on commit 1ca8661

Please sign in to comment.