cosmetics

This commit is contained in:
nikk gitanes
2024-04-06 13:39:09 +03:00
parent d5699699db
commit e5a2739941
3 changed files with 10 additions and 8 deletions

View File

@@ -124,7 +124,7 @@ const Torrent = ({ torrent }) => {
<div className='description-section-name'>
{t('Name')}
<div className='description-category-wrapper'>
{catIndex >= 0 ? t(catArray.name) : ''/* {category} */}
{catIndex >= 0 ? t(catArray.name) : '' /* {category} */}
</div>
</div>
<div className='description-torrent-title'>{parsedTitle}</div>

View File

@@ -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;

View File

@@ -79,7 +79,7 @@
"OK": "OK",
"OpenLink": "Отвори линк",
"Other": "Други",
"Peers": "Пиъри·Сийдъри",
"Peers": "Пиъри·Сийди",
"PiecesCount": "Брой парчета",
"PiecesLength": "Дължина на парчетата",
"Playlist": "Плейлист",