Skip to content

Commit 0f26048

Browse files
authored
Merge pull request #2613 from hackforla/2586-truncate-cells
2586 truncate cells
2 parents 2fc5949 + abb23aa commit 0f26048

4 files changed

Lines changed: 7 additions & 5 deletions

File tree

client/src/components/Projects/ProjectTableRow.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,8 +296,8 @@ const ProjectTableRow = ({
296296
<Link to={`/calculation/1/${project.id}`}>{project.name}</Link>
297297
</TdExpandable>
298298
<TdExpandable>{project.address}</TdExpandable>
299-
<Td>{fallbackToBlank(formInputs.VERSION_NO)}</Td>
300-
<Td> {`${project.lastName}, ${project.firstName}`}</Td>
299+
<TdExpandable>{fallbackToBlank(formInputs.VERSION_NO)}</TdExpandable>
300+
<TdExpandable>{`${project.lastName}, ${project.firstName}`}</TdExpandable>
301301
<Td>{formatDate(project.dateCreated)}</Td>
302302
<Td>
303303
<span>{formatDate(project.dateModified)}</span>

client/src/components/Submissions/SubmissionTableRow.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ const SubmissionTableRow = ({
140140
<Td>{project.author}</Td>
141141
<Td align="center">{project.projectLevel}</Td>
142142
<Td>{project.droName}</Td>
143-
<Td>{project.assignee}</Td>
143+
<TdExpandable>{project.assignee}</TdExpandable>
144144
<Td>{formatDate(project.dateAssigned)}</Td>
145145
<Td>{project.invoiceStatusName}</Td>
146146
<Td>{formatDate(project.dateInvoicePaid)}</Td>

client/src/components/Submissions/SubmissionsPage.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ const SubmissionsPage = ({ contentContainerRef }) => {
568568
<Td>{formatDate(project.dateStatus)}</Td>
569569
<Td align="center">{project.projectLevel}</Td>
570570
<Td>{project.droName}</Td>
571-
<Td>{project.assignee}</Td>
571+
<TdExpandable>{project.assignee}</TdExpandable>
572572
<Td>{formatDate(project.dateAssigned)}</Td>
573573
<Td>{project.invoiceStatusName}</Td>
574574
<Td>{formatDate(project.dateInvoicePaid)}</Td>

client/src/components/UI/TableData.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ const useStyles = createUseStyles({
3030
whiteSpace: "normal",
3131
overflow: "visible",
3232
textOverflow: "unset",
33-
verticalAlign: "middle"
33+
verticalAlign: "middle",
34+
overflowWrap: "anywhere",
35+
hyphens: "auto"
3436
},
3537
contentContainer: {
3638
display: "flex",

0 commit comments

Comments
 (0)