More finely control the width of the torrent table

This commit is contained in:
Drew DeVault 2018-01-02 16:57:32 -05:00
parent c0d5c49283
commit ca73d5f520

View File

@ -25,9 +25,14 @@ class TorrentTable extends Component {
}} }}
/> />
</th> </th>
<th>name</th> <th style={{
<th>up</th> maxWidth: `${window.innerWidth * 0.25}px`,
<th>down</th> textOverflow: 'ellipsis',
overflowX: 'hidden',
whiteSpace: 'nowrap'
}}>name</th>
<th style={{ minWidth: '75px' }}>up</th>
<th style={{ minWidth: '75px' }}>down</th>
<th style={{width: "18rem"}}> <th style={{width: "18rem"}}>
<span class="ratio"> <span class="ratio">
<span>ratio</span> <span>ratio</span>