From dae856be78641851a711969c7d6d0059bda1a7e3 Mon Sep 17 00:00:00 2001 From: ner Date: Fri, 18 Aug 2023 12:58:07 +0300 Subject: [PATCH] fix: mobile torrents table view --- .../Movie/components/Torrents/index.tsx | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/components/Movie/components/Torrents/index.tsx b/components/Movie/components/Torrents/index.tsx index bcad0c1..20e9f21 100644 --- a/components/Movie/components/Torrents/index.tsx +++ b/components/Movie/components/Torrents/index.tsx @@ -44,9 +44,9 @@ const TableHeadSortable = ({ by: sorting.by === ORDER.seeders ? ORDER.size : ORDER.seeders })) } - className='cursor-pointer select-none' + className='cursor-pointer select-none px-2' > -
+
{title} {value.by === by ? : }
@@ -64,22 +64,25 @@ const Torrents: FC = ({ title, onClose }) => { - Title + Title - Magnet + Magnet {torrents?.map((torrent) => ( - {torrent.title} - -
{torrent.size}
+ {torrent.title} + +
{torrent.size}
- {torrent.seeders} - - + {torrent.seeders} + +