лучше обрезанный вариант

This commit is contained in:
Alexey Kasyanchuk 2017-01-08 11:57:49 +03:00
parent 1cf631277b
commit 95e16d78a3

View File

@ -36,7 +36,7 @@ return (
<div className='break-word fs0-85' style={{paddingTop: '0.3em'}}> <div className='break-word fs0-85' style={{paddingTop: '0.3em'}}>
<span style={{color: (torrent.seeders > 0 ? '#00C853' : 'grey')}}>{torrent.seeders} seeders</span> <span style={{color: (torrent.seeders > 0 ? '#00C853' : 'grey')}}>{torrent.seeders} seeders</span>
<span style={{color: (torrent.leechers > 0 ? '#AA00FF' : 'grey'), marginLeft: '12px'}}>{torrent.leechers} leechers</span> <span style={{color: (torrent.leechers > 0 ? '#AA00FF' : 'grey'), marginLeft: '12px'}}>{torrent.leechers} leechers</span>
<span style={{color: (torrent.completed > 0 ? '#FF6D00' : 'grey'), marginLeft: '12px'}}>{torrent.completed} completed downloads</span> <span style={{color: (torrent.completed > 0 ? '#FF6D00' : 'grey'), marginLeft: '12px'}}>{torrent.completed} completed</span>
</div> </div>
: :
null null