From 08f813a6990b32f06ea102edf9b3868549e62cfb Mon Sep 17 00:00:00 2001 From: MerlinScheurer Date: Sun, 12 Jan 2025 15:08:53 +0100 Subject: [PATCH] Add spacing around buttons in downloadListItem --- frontend/src/components/DownloadListItem.tsx | 91 ++++++++++++-------- 1 file changed, 56 insertions(+), 35 deletions(-) diff --git a/frontend/src/components/DownloadListItem.tsx b/frontend/src/components/DownloadListItem.tsx index 85bddc8e..0e75710e 100644 --- a/frontend/src/components/DownloadListItem.tsx +++ b/frontend/src/components/DownloadListItem.tsx @@ -26,14 +26,19 @@ const DownloadListItem = ({ download, setRefresh }: DownloadListItemProps) => {
video_thumb +
{showIgnored && ignored} + {!showIgnored && queued} + {download.vid_type} + {download.auto_start && auto}
+
{download.channel_indexed && ( @@ -44,63 +49,79 @@ const DownloadListItem = ({ download, setRefresh }: DownloadListItemProps) => {

{download.title}

+

Published: {formatDate(download.published)} | Duration: {download.duration} |{' '} {download.youtube_id}

+ {download.message &&

{download.message}

} +
{showIgnored && ( <> -
+ +
+
)} {!showIgnored && ( <> -
+ + {!hideDownload && ( +
+
)} )} + {download.message && ( -