diff --git a/src/ui/torrent_table.js b/src/ui/torrent_table.js index c73a945..a4671ab 100644 --- a/src/ui/torrent_table.js +++ b/src/ui/torrent_table.js @@ -8,6 +8,12 @@ import TorrentProgress from './torrent_progress'; class TorrentTable extends Component { render() { const { selection, torrents, dispatch } = this.props; + const name_style = { + maxWidth: `${window.innerWidth * 0.25}px`, + textOverflow: 'ellipsis', + overflowX: 'hidden', + whiteSpace: 'nowrap' + }; return ( @@ -25,12 +31,7 @@ class TorrentTable extends Component { }} /> - +
namename up down @@ -62,7 +63,7 @@ class TorrentTable extends Component { } /> - + {