diff --git a/web/src/components/TorrentCard/index.jsx b/web/src/components/TorrentCard/index.jsx index afc3c0b..0697ed3 100644 --- a/web/src/components/TorrentCard/index.jsx +++ b/web/src/components/TorrentCard/index.jsx @@ -122,8 +122,7 @@ const Torrent = ({ torrent }) => {
- {t('Name')} -
{catIndex >= 0 ? t(catArray.name) : category}
+ {category ? (catIndex >= 0 ? t(catArray.name) : category) : t('Name')}
{parsedTitle}
diff --git a/web/src/components/TorrentCard/style.js b/web/src/components/TorrentCard/style.js index 8f3b791..c6ff613 100644 --- a/web/src/components/TorrentCard/style.js +++ b/web/src/components/TorrentCard/style.js @@ -94,7 +94,6 @@ export const TorrentCardButtons = styled.div` export const TorrentCardDescription = styled.div` ${({ theme: { - app: { sidebarBGColor }, torrentCard: { cardSecondaryColor, accentCardColor }, }, }) => css` @@ -116,17 +115,17 @@ export const TorrentCardDescription = styled.div` flex-direction: column; } - .description-title-wrapper > .description-section-name { - display: flex; - flex-wrap: nowrap; - justify-content: space-between; - self-align: end; - } + // .description-title-wrapper > .description-section-name { + // display: flex; + // flex-wrap: nowrap; + // justify-content: space-between; + // self-align: end; + // } - .description-category-wrapper { - display: inline-flex; - color: ${sidebarBGColor}; - } + // .description-category-wrapper { + // display: inline-flex; + // color: #1a1a1a; + // } .description-section-name { text-transform: uppercase;