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

Refactor CSS files in src/screens/OrganizationFundCampaign #2934

Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/screens/OrganizationFundCampaign/CampaignModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ const CampaignModal: React.FC<InterfaceCampaignModal> = ({
{/* Button to create the campaign */}
<Button
type="submit"
className={styles.greenregbtn}
className={styles.greenregbtnOrganizationFundCampaign}
data-testid="submitCampaignBtn"
>
{t(mode === 'edit' ? 'updateCampaign' : 'createCampaign')}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import dayjs from 'dayjs';
import Loader from 'components/Loader/Loader';
import CampaignModal from './CampaignModal';
import { FUND_CAMPAIGN } from 'GraphQl/Queries/fundQueries';
import styles from './OrganizationFundCampaign.module.css';
import styles from '../../style/app.module.css';
import { currencySymbols } from 'utils/currency';
import type {
InterfaceCampaignInfo,
Expand Down Expand Up @@ -339,14 +339,14 @@ const orgFundCampaign = (): JSX.Element => {
<Typography color="text.primary">{t('title')}</Typography>
</Breadcrumbs>

<div className={styles.btnsContainer}>
<div className={styles.input}>
<div className={styles.btnsContainerOrganizationFundCampaign}>
<div className={styles.inputOrganizationFundCampaign}>
<Form.Control
type="name"
placeholder={tCommon('searchByName')}
autoComplete="off"
required
className={styles.inputField}
className={styles.inputFieldOrganizationFundCampaign}
value={searchTerm}
onChange={(e) => setSearchTerm(e.target.value)}
data-testid="searchFullName"
Expand All @@ -358,13 +358,13 @@ const orgFundCampaign = (): JSX.Element => {
<Search />
</Button>
</div>
<div className={styles.btnsBlock}>
<div className={styles.btnsBbtnsBlockOrganizationFundCampaignlock}>
mandeepnh5 marked this conversation as resolved.
Show resolved Hide resolved
<div className="d-flex justify-space-between">
<Dropdown>
<Dropdown.Toggle
variant="success"
id="dropdown-basic"
className={styles.dropdown}
className={styles.dropdownOrganizationFundCampaign}
data-testid="filter"
>
<Sort className={'me-1'} />
Expand Down Expand Up @@ -426,7 +426,9 @@ const orgFundCampaign = (): JSX.Element => {
),
}}
sx={dataGridStyle}
getRowClassName={() => `${styles.rowBackground}`}
getRowClassName={() =>
`${styles.rowBackgroundOrganizationFundCampaign}`
}
autoHeight
rowHeight={65}
rows={campaigns.map((campaign, index) => ({
Expand Down

This file was deleted.

Loading
Loading