From 39a0cb3f43fb920cf1c91c20d3e0117646fd81e4 Mon Sep 17 00:00:00 2001 From: Qstick Date: Sun, 13 Dec 2020 00:56:48 -0500 Subject: [PATCH] Fixed: Long paths overflowing in artist history Co-Authored-By: Mark McDowall Signed-off-by: Robin Dadswell --- frontend/src/Author/History/AuthorHistoryRow.css | 6 ++++++ frontend/src/Author/History/AuthorHistoryRow.js | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/frontend/src/Author/History/AuthorHistoryRow.css b/frontend/src/Author/History/AuthorHistoryRow.css index deafecb81..a62b9c2bb 100644 --- a/frontend/src/Author/History/AuthorHistoryRow.css +++ b/frontend/src/Author/History/AuthorHistoryRow.css @@ -1,3 +1,9 @@ +.sourceTitle { + composes: cell from '~Components/Table/Cells/TableRowCell.css'; + + word-break: break-word; +} + .details, .actions { composes: cell from '~Components/Table/Cells/TableRowCell.css'; diff --git a/frontend/src/Author/History/AuthorHistoryRow.js b/frontend/src/Author/History/AuthorHistoryRow.js index 49226edf7..e9072bdf3 100644 --- a/frontend/src/Author/History/AuthorHistoryRow.js +++ b/frontend/src/Author/History/AuthorHistoryRow.js @@ -94,7 +94,7 @@ class AuthorHistoryRow extends Component { {book.title} - + {sourceTitle}