mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
Merge branch 'pr-263'
This commit is contained in:
@@ -116,7 +116,7 @@ const Torrent = ({ torrent }) => {
|
|||||||
<StatusIndicator stat={stat} />
|
<StatusIndicator stat={stat} />
|
||||||
|
|
||||||
<div className='description-statistics-element-wrapper'>
|
<div className='description-statistics-element-wrapper'>
|
||||||
<div className='description-section-name'>{t('Size')}</div>
|
<div className='description-section-name'><StatusIndicator stat={stat} />{t('Size')}</div>
|
||||||
<div className='description-statistics-element-value'>{torrentSize > 0 && humanizeSize(torrentSize)}</div>
|
<div className='description-statistics-element-value'>{torrentSize > 0 && humanizeSize(torrentSize)}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -195,9 +195,9 @@ export const StatusIndicator = ({ stat }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='description-statistics-element-wrapper'>
|
<span className='description-status-wrapper'>
|
||||||
<StatusIndicators color={colors[stat]} title={values[stat]} />
|
<StatusIndicators color={colors[stat]} title={values[stat]} />
|
||||||
</div>
|
</span>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -127,6 +127,14 @@ export const TorrentCardDescription = styled.div`
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.description-status-wrapper {
|
||||||
|
display: inline-block;
|
||||||
|
height: 8px;
|
||||||
|
margin-inline-end: 4px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
.description-torrent-title {
|
.description-torrent-title {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
|||||||
Reference in New Issue
Block a user