From 3467a9623a4781d762c1e7f17f43d17d69c52b20 Mon Sep 17 00:00:00 2001 From: nikk gitanes Date: Sat, 27 May 2023 18:19:17 +0300 Subject: [PATCH] fix merge --- web/src/components/TorrentCard/index.jsx | 7 ++++--- web/src/components/TorrentCard/style.js | 10 +++++----- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/web/src/components/TorrentCard/index.jsx b/web/src/components/TorrentCard/index.jsx index d216729..44a00e7 100644 --- a/web/src/components/TorrentCard/index.jsx +++ b/web/src/components/TorrentCard/index.jsx @@ -113,10 +113,11 @@ const Torrent = ({ torrent }) => {
- -
-
{t('Size')}
+
+ + {t('Size')} +
{torrentSize > 0 && humanizeSize(torrentSize)}
diff --git a/web/src/components/TorrentCard/style.js b/web/src/components/TorrentCard/style.js index 16cf348..2795cbc 100644 --- a/web/src/components/TorrentCard/style.js +++ b/web/src/components/TorrentCard/style.js @@ -142,20 +142,20 @@ export const TorrentCardDescription = styled.div` .description-statistics-wrapper { display: grid; - grid-template-columns: 24px 80px 80px 1fr; + grid-template-columns: 80px 80px 1fr; align-self: end; @media (max-width: 1260px), (max-height: 500px) { - grid-template-columns: 24px 70px 70px 1fr; + grid-template-columns: 70px 70px 1fr; } @media (max-width: 770px) { - grid-template-columns: 24px 65px 65px 1fr; + grid-template-columns: 65px 65px 1fr; } @media (max-width: 700px) { display: grid; - grid-template-columns: 24px repeat(3, 1fr); + grid-template-columns: repeat(3, 1fr); } } @@ -163,7 +163,7 @@ export const TorrentCardDescription = styled.div` } .description-statistics-element-value { - margin-left: 0px; + margin-left: 5px; margin-bottom: 10px; word-break: break-all;