More responsive
This commit is contained in:
parent
24571df531
commit
ada3df08dc
|
@ -77,8 +77,7 @@ class TorrentSearchComponent extends Component<any, State> {
|
|||
table() {
|
||||
return (
|
||||
<div>
|
||||
<div class="table-responsive-md">
|
||||
<table class="table table-hover table-sm table-striped">
|
||||
<table style="table-layout: fixed;" class="table table-fixed table-hover table-sm table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th style="width: 50%">Name</th>
|
||||
|
@ -92,7 +91,7 @@ class TorrentSearchComponent extends Component<any, State> {
|
|||
<tbody>
|
||||
{this.state.results.torrents.map(torrent => (
|
||||
<tr>
|
||||
<td>{torrent.name}</td>
|
||||
<td style="word-wrap: break-word;">{torrent.name}</td>
|
||||
<td class="text-right text-muted">{humanFileSize(torrent.size_bytes, true)}</td>
|
||||
<td class="text-right text-success"><div><i class="fas fa-fw fa-arrow-up"></i>{torrent.seeders}</div></td>
|
||||
<td class="text-right text-danger d-none d-md-table-cell"><i class="fas fa-fw fa-arrow-down"></i>{torrent.leechers}</td>
|
||||
|
@ -111,7 +110,6 @@ class TorrentSearchComponent extends Component<any, State> {
|
|||
))}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{this.paginator()}
|
||||
</div>
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue