From d6b210a4c9f95143399f459e6969d7487bf6e39c Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 4 Aug 2019 22:33:09 -0400 Subject: [PATCH] Fixed: column widths in Interactive Search Co-Authored-By: Mark McDowall --- .../InteractiveSearch/InteractiveSearchRow.css | 18 ++++++++++++++++++ .../InteractiveSearch/InteractiveSearchRow.js | 6 +++--- 2 files changed, 21 insertions(+), 3 deletions(-) diff --git a/frontend/src/InteractiveSearch/InteractiveSearchRow.css b/frontend/src/InteractiveSearch/InteractiveSearchRow.css index 57fffadc7..3ec30e184 100644 --- a/frontend/src/InteractiveSearch/InteractiveSearchRow.css +++ b/frontend/src/InteractiveSearch/InteractiveSearchRow.css @@ -1,9 +1,21 @@ +.protocol { + composes: cell from '~Components/Table/Cells/TableRowCell.css'; + + width: 80px; +} + .title { composes: cell from '~Components/Table/Cells/TableRowCell.css'; word-break: break-all; } +.indexer { + composes: cell from '~Components/Table/Cells/TableRowCell.css'; + + width: 85px; +} + .quality { composes: cell from '~Components/Table/Cells/TableRowCell.css'; @@ -31,3 +43,9 @@ white-space: nowrap; } + +.peers { + composes: cell from '~Components/Table/Cells/TableRowCell.css'; + + width: 75px; +} diff --git a/frontend/src/InteractiveSearch/InteractiveSearchRow.js b/frontend/src/InteractiveSearch/InteractiveSearchRow.js index a413c60a9..055054f70 100644 --- a/frontend/src/InteractiveSearch/InteractiveSearchRow.js +++ b/frontend/src/InteractiveSearch/InteractiveSearchRow.js @@ -123,7 +123,7 @@ class InteractiveSearchRow extends Component { return ( - + @@ -142,7 +142,7 @@ class InteractiveSearchRow extends Component { - + {indexer} @@ -150,7 +150,7 @@ class InteractiveSearchRow extends Component { {formatBytes(size)} - + { protocol === 'torrent' &&