Skip to content

Commit

Permalink
Merge pull request #352 from jayfo/columns
Browse files Browse the repository at this point in the history
Adjust Columns to Create More Space for Patient Name
  • Loading branch information
jayfo authored Aug 28, 2022
2 parents cb30220 + d4f10a9 commit 2c399fb
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions web_registry/src/components/caseload/CaseloadTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const CaseloadTable: FunctionComponent<ICaseloadTableProps> = (props) =>
{
field: 'name',
headerName: 'Name',
minWidth: 120,
minWidth: 240,
align: 'center',
headerAlign: 'center',
},
Expand All @@ -157,31 +157,35 @@ export const CaseloadTable: FunctionComponent<ICaseloadTableProps> = (props) =>
{
field: 'initialSession',
headerName: 'Initial Session',
minWidth: 80,
width: 85,
renderHeader,
align: 'center',
headerAlign: 'center',
filterable: false,
},
{
field: 'recentSession',
headerName: 'Last Session',
minWidth: 80,
width: 85,
renderHeader,
align: 'center',
headerAlign: 'center',
filterable: false,
},
{
field: 'recentCaseReview',
headerName: 'Last Case Review',
minWidth: 120,
width: 85,
renderHeader,
align: 'center',
headerAlign: 'center',
filterable: false,
},
{
field: 'nextSessionDue',
headerName: 'Follow-up Due',
minWidth: 80,
width: 85,
renderHeader,
align: 'center',
headerAlign: 'center',
filterable: false,
Expand Down Expand Up @@ -234,7 +238,8 @@ export const CaseloadTable: FunctionComponent<ICaseloadTableProps> = (props) =>
{
field: 'lastPHQDate',
headerName: 'Last PHQ-9 Date',
minWidth: 120,
width: 85,
renderHeader,
align: 'center',
headerAlign: 'center',
},
Expand Down Expand Up @@ -268,7 +273,8 @@ export const CaseloadTable: FunctionComponent<ICaseloadTableProps> = (props) =>
{
field: 'lastGADDate',
headerName: 'Last GAD-7 Date',
minWidth: 120,
width: 85,
renderHeader,
align: 'center',
headerAlign: 'center',
},
Expand Down

0 comments on commit 2c399fb

Please sign in to comment.