From e5a27399411d20d61f3a45edfa154aca32620e19 Mon Sep 17 00:00:00 2001 From: nikk gitanes Date: Sat, 6 Apr 2024 13:39:09 +0300 Subject: [PATCH] cosmetics --- web/src/components/TorrentCard/index.jsx | 2 +- web/src/components/TorrentCard/style.js | 14 ++++++++------ web/src/locales/bg/translation.json | 2 +- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/web/src/components/TorrentCard/index.jsx b/web/src/components/TorrentCard/index.jsx index 3fdb31a..d1117d1 100644 --- a/web/src/components/TorrentCard/index.jsx +++ b/web/src/components/TorrentCard/index.jsx @@ -124,7 +124,7 @@ const Torrent = ({ torrent }) => {
{t('Name')}
- {catIndex >= 0 ? t(catArray.name) : ''/* {category} */} + {catIndex >= 0 ? t(catArray.name) : '' /* {category} */}
{parsedTitle}
diff --git a/web/src/components/TorrentCard/style.js b/web/src/components/TorrentCard/style.js index 49706a1..8f3b791 100644 --- a/web/src/components/TorrentCard/style.js +++ b/web/src/components/TorrentCard/style.js @@ -116,12 +116,19 @@ export const TorrentCardDescription = styled.div` flex-direction: column; } - .description-section-name { + .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-section-name { text-transform: uppercase; font-size: 10px; font-weight: 600; @@ -134,11 +141,6 @@ export const TorrentCardDescription = styled.div` } } - .description-category-wrapper { - display: inline-flex; - color: ${sidebarBGColor}; - } - .description-status-wrapper { display: inline-block; height: 8px; diff --git a/web/src/locales/bg/translation.json b/web/src/locales/bg/translation.json index 4a51584..1b1d6dd 100644 --- a/web/src/locales/bg/translation.json +++ b/web/src/locales/bg/translation.json @@ -79,7 +79,7 @@ "OK": "OK", "OpenLink": "Отвори линк", "Other": "Други", - "Peers": "Пиъри·Сийдъри", + "Peers": "Пиъри·Сийди", "PiecesCount": "Брой парчета", "PiecesLength": "Дължина на парчетата", "Playlist": "Плейлист",