From 36bc73579d00ebf6e0542d0e386a30864039fb76 Mon Sep 17 00:00:00 2001 From: dannyrb Date: Mon, 11 May 2020 21:36:51 -0400 Subject: [PATCH] Title hover for truncated text --- .../src/components/StudyListTable/StudyListTableRow.js | 10 +++++----- .../routes/StudyListContainer/StudyListContainer.jsx | 7 +++++++ 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/platform/ui/src/components/StudyListTable/StudyListTableRow.js b/platform/ui/src/components/StudyListTable/StudyListTableRow.js index 120241b48..6d7b2e586 100644 --- a/platform/ui/src/components/StudyListTable/StudyListTableRow.js +++ b/platform/ui/src/components/StudyListTable/StudyListTableRow.js @@ -35,22 +35,20 @@ const StudyListTableRow = props => { onClick={onClickRow} > {row.map((cell, index) => { - const { content, gridCol, name } = cell; + const { content, title, gridCol, name } = cell; return ( {index === 0 && ( {moment(studyTime).format('hh:mm A')} ), + title: 'time', gridCol: 5, }, { key: 'description', content: studyDescription, + title: studyDescription, gridCol: 4, }, { key: 'modality', content: modalities, + title: modalities, gridCol: 3, }, { key: 'accession', content: accessionNumber, + title: accessionNumber, gridCol: 4, }, { @@ -213,6 +219,7 @@ function StudyListContainer({ history, data: studies }) { {instances} ), + title: instances, gridCol: 4, }, ],