Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed : #2516 Refactor CSS files in src/screens/OrganizationFunds #2743

142 changes: 0 additions & 142 deletions src/screens/OrganizationFunds/OrganizationFunds.module.css

This file was deleted.

20 changes: 10 additions & 10 deletions src/screens/OrganizationFunds/OrganizationFunds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ const organizationFunds = (): JSX.Element => {
minWidth: 100,
align: 'center',
headerAlign: 'center',
headerClassName: `${styles.tableHeader}`,
headerClassName: `${styles.tableHeaders}`,
sortable: false,
renderCell: (params: GridCellParams) => {
return <div>{params.row.id}</div>;
Expand All @@ -174,7 +174,7 @@ const organizationFunds = (): JSX.Element => {
minWidth: 100,
headerAlign: 'center',
sortable: false,
headerClassName: `${styles.tableHeader}`,
headerClassName: `${styles.tableHeaders}`,
renderCell: (params: GridCellParams) => {
return (
<div
Expand All @@ -195,7 +195,7 @@ const organizationFunds = (): JSX.Element => {
minWidth: 100,
headerAlign: 'center',
sortable: false,
headerClassName: `${styles.tableHeader}`,
headerClassName: `${styles.tableHeaders}`,
renderCell: (params: GridCellParams) => {
return params.row.creator.firstName + ' ' + params.row.creator.lastName;
},
Expand All @@ -207,7 +207,7 @@ const organizationFunds = (): JSX.Element => {
minWidth: 100,
headerAlign: 'center',
sortable: false,
headerClassName: `${styles.tableHeader}`,
headerClassName: `${styles.tableHeaders}`,
flex: 2,
renderCell: (params: GridCellParams) => {
return (
Expand All @@ -225,7 +225,7 @@ const organizationFunds = (): JSX.Element => {
minWidth: 100,
headerAlign: 'center',
sortable: false,
headerClassName: `${styles.tableHeader}`,
headerClassName: `${styles.tableHeaders}`,
renderCell: (params: GridCellParams) => {
return params.row.isArchived ? 'Archived' : 'Active';
},
Expand All @@ -238,7 +238,7 @@ const organizationFunds = (): JSX.Element => {
minWidth: 100,
headerAlign: 'center',
sortable: false,
headerClassName: `${styles.tableHeader}`,
headerClassName: `${styles.tableHeaders}`,
renderCell: (params: GridCellParams) => {
return (
<>
Expand Down Expand Up @@ -266,7 +266,7 @@ const organizationFunds = (): JSX.Element => {
minWidth: 100,
headerAlign: 'center',
sortable: false,
headerClassName: `${styles.tableHeader}`,
headerClassName: `${styles.tableHeaders}`,
renderCell: (params: GridCellParams) => {
return (
<Button
Expand All @@ -292,7 +292,7 @@ const organizationFunds = (): JSX.Element => {
placeholder={tCommon('searchByName')}
autoComplete="off"
required
className={styles.inputField}
className={styles.inputFields}
value={searchTerm}
onChange={(e) => setSearchTerm(e.target.value)}
data-testid="searchByName"
Expand All @@ -312,7 +312,7 @@ const organizationFunds = (): JSX.Element => {
<Dropdown.Toggle
variant="success"
id="dropdown-basic"
className={styles.dropdown}
className={styles.dropdowns}
data-testid="filter"
>
<Sort className={'me-1'} />
Expand Down Expand Up @@ -362,7 +362,7 @@ const organizationFunds = (): JSX.Element => {
),
}}
sx={dataGridStyle}
getRowClassName={() => `${styles.rowBackground}`}
getRowClassName={() => `${styles.rowBackgrounds}`}
autoHeight
rowHeight={65}
rows={funds.map((fund, index) => ({
Expand Down
Loading
Loading