mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-21 14:36:09 +05:00
update web for categories
This commit is contained in:
@@ -116,15 +116,12 @@ const Torrent = ({ torrent }) => {
|
||||
</TorrentCardButtons>
|
||||
|
||||
<TorrentCardDescription>
|
||||
<div className='description-wrapper'>
|
||||
<div className='description-title-wrapper'>
|
||||
<div className='description-section-name'>{t('Name')}</div>
|
||||
<div className='description-torrent-title'>{parsedTitle}</div>
|
||||
</div>
|
||||
<div className='description-category-wrapper'>
|
||||
<div className='description-section-name'>{t('Category')}</div>
|
||||
<div className='description-torrent-title'>{category}</div>
|
||||
<div className='description-title-wrapper'>
|
||||
<div className='description-section-name'>
|
||||
{t('Name')}
|
||||
<div className='description-category-wrapper'>{category}</div>
|
||||
</div>
|
||||
<div className='description-torrent-title'>{parsedTitle}</div>
|
||||
</div>
|
||||
|
||||
<div className='description-statistics-wrapper'>
|
||||
|
||||
@@ -94,6 +94,7 @@ export const TorrentCardButtons = styled.div`
|
||||
export const TorrentCardDescription = styled.div`
|
||||
${({
|
||||
theme: {
|
||||
app: { sidebarBGColor },
|
||||
torrentCard: { cardSecondaryColor, accentCardColor },
|
||||
},
|
||||
}) => css`
|
||||
@@ -110,21 +111,17 @@ export const TorrentCardDescription = styled.div`
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.description-wrapper {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
|
||||
.description-wrapper > * {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.description-title-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.description-section-name {
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
justify-content: space-between;
|
||||
self-align: end;
|
||||
|
||||
text-transform: uppercase;
|
||||
font-size: 10px;
|
||||
font-weight: 600;
|
||||
@@ -138,9 +135,8 @@ export const TorrentCardDescription = styled.div`
|
||||
}
|
||||
|
||||
.description-category-wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: end;
|
||||
display: inline-flex;
|
||||
color: ${sidebarBGColor};
|
||||
}
|
||||
|
||||
.description-status-wrapper {
|
||||
|
||||
Reference in New Issue
Block a user