From d7e91f39b4a4e16ffdf97485cb1325d0515967f2 Mon Sep 17 00:00:00 2001 From: nitsua Date: Fri, 16 Apr 2021 20:44:11 -0400 Subject: [PATCH] Adjust CSS so titles are wrap instead of truncate --- .../InteractiveSearchRow.css | 24 ++++++++++++------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/frontend/src/InteractiveSearch/InteractiveSearchRow.css b/frontend/src/InteractiveSearch/InteractiveSearchRow.css index 3ec30e184..148972663 100644 --- a/frontend/src/InteractiveSearch/InteractiveSearchRow.css +++ b/frontend/src/InteractiveSearch/InteractiveSearchRow.css @@ -1,29 +1,35 @@ -.protocol { +.cell { composes: cell from '~Components/Table/Cells/TableRowCell.css'; +} + +.protocol { + composes: cell; width: 80px; } .title { - composes: cell from '~Components/Table/Cells/TableRowCell.css'; + composes: cell; +} - word-break: break-all; +.title div { + overflow-wrap: break-word; } .indexer { - composes: cell from '~Components/Table/Cells/TableRowCell.css'; + composes: cell; width: 85px; } .quality { - composes: cell from '~Components/Table/Cells/TableRowCell.css'; + composes: cell; text-align: center; } .preferredWordScore { - composes: cell from '~Components/Table/Cells/TableRowCell.css'; + composes: cell; width: 55px; font-weight: bold; @@ -32,20 +38,20 @@ .rejected, .download { - composes: cell from '~Components/Table/Cells/TableRowCell.css'; + composes: cell; width: 50px; } .age, .size { - composes: cell from '~Components/Table/Cells/TableRowCell.css'; + composes: cell; white-space: nowrap; } .peers { - composes: cell from '~Components/Table/Cells/TableRowCell.css'; + composes: cell; width: 75px; }