From 42751b598b4a9f97c065f59b42656314fd018169 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 5 Mar 2023 18:58:57 -0800 Subject: [PATCH] Fixed: Misaligned table border Closes #2232 (cherry picked from commit aa938d911b61b08185dc57a0887f3f33e3c6e1f2) --- frontend/src/Activity/History/HistoryRow.js | 10 ++++++---- .../src/InteractiveSearch/InteractiveSearchRow.css | 11 +++++------ .../InteractiveSearch/InteractiveSearchRow.css.d.ts | 2 +- .../src/InteractiveSearch/InteractiveSearchRow.js | 10 ++++++---- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/frontend/src/Activity/History/HistoryRow.js b/frontend/src/Activity/History/HistoryRow.js index f5ae69406..c926d8e98 100644 --- a/frontend/src/Activity/History/HistoryRow.js +++ b/frontend/src/Activity/History/HistoryRow.js @@ -218,10 +218,12 @@ class HistoryRow extends Component { key={name} className={styles.details} > - +
+ +
); } diff --git a/frontend/src/InteractiveSearch/InteractiveSearchRow.css b/frontend/src/InteractiveSearch/InteractiveSearchRow.css index 1163064e2..3b5933653 100644 --- a/frontend/src/InteractiveSearch/InteractiveSearchRow.css +++ b/frontend/src/InteractiveSearch/InteractiveSearchRow.css @@ -8,12 +8,11 @@ width: 80px; } -.title { - composes: cell; -} - -.title div { - overflow-wrap: break-word; +.titleContent { + display: flex; + align-items: center; + justify-content: space-between; + word-break: break-all; } .indexer { diff --git a/frontend/src/InteractiveSearch/InteractiveSearchRow.css.d.ts b/frontend/src/InteractiveSearch/InteractiveSearchRow.css.d.ts index 324e15fc3..23189f749 100644 --- a/frontend/src/InteractiveSearch/InteractiveSearchRow.css.d.ts +++ b/frontend/src/InteractiveSearch/InteractiveSearchRow.css.d.ts @@ -11,7 +11,7 @@ interface CssExports { 'quality': string; 'rejected': string; 'size': string; - 'title': string; + 'titleContent': string; } export const cssExports: CssExports; export default cssExports; diff --git a/frontend/src/InteractiveSearch/InteractiveSearchRow.js b/frontend/src/InteractiveSearch/InteractiveSearchRow.js index 3b90b04f2..53d578d7a 100644 --- a/frontend/src/InteractiveSearch/InteractiveSearchRow.js +++ b/frontend/src/InteractiveSearch/InteractiveSearchRow.js @@ -153,10 +153,12 @@ class InteractiveSearchRow extends Component { {formatAge(age, ageHours, ageMinutes)} - - - {title} - + +
+ + {title} + +