Fixed: column widths in Interactive Search

Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
pull/6/head
Qstick 6 years ago
parent c8184c362a
commit d6b210a4c9

@ -1,9 +1,21 @@
.protocol {
composes: cell from '~Components/Table/Cells/TableRowCell.css';
width: 80px;
}
.title { .title {
composes: cell from '~Components/Table/Cells/TableRowCell.css'; composes: cell from '~Components/Table/Cells/TableRowCell.css';
word-break: break-all; word-break: break-all;
} }
.indexer {
composes: cell from '~Components/Table/Cells/TableRowCell.css';
width: 85px;
}
.quality { .quality {
composes: cell from '~Components/Table/Cells/TableRowCell.css'; composes: cell from '~Components/Table/Cells/TableRowCell.css';
@ -31,3 +43,9 @@
white-space: nowrap; white-space: nowrap;
} }
.peers {
composes: cell from '~Components/Table/Cells/TableRowCell.css';
width: 75px;
}

@ -123,7 +123,7 @@ class InteractiveSearchRow extends Component {
return ( return (
<TableRow> <TableRow>
<TableRowCell> <TableRowCell className={styles.protocol}>
<ProtocolLabel <ProtocolLabel
protocol={protocol} protocol={protocol}
/> />
@ -142,7 +142,7 @@ class InteractiveSearchRow extends Component {
</Link> </Link>
</TableRowCell> </TableRowCell>
<TableRowCell> <TableRowCell className={styles.indexer}>
{indexer} {indexer}
</TableRowCell> </TableRowCell>
@ -150,7 +150,7 @@ class InteractiveSearchRow extends Component {
{formatBytes(size)} {formatBytes(size)}
</TableRowCell> </TableRowCell>
<TableRowCell> <TableRowCell className={styles.peers}>
{ {
protocol === 'torrent' && protocol === 'torrent' &&
<Peers <Peers

Loading…
Cancel
Save