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 4 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
4 changes: 2 additions & 2 deletions src/screens/OrganizationFundCampaign/CampaignModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import type { ChangeEvent } from 'react';
import React, { useEffect, useState } from 'react';
import { Button, Form, Modal } from 'react-bootstrap';
import { currencyOptions, currencySymbols } from 'utils/currency';
import styles from './OrganizationFundCampaign.module.css';
import styles from '../../style/app.module.css';
import { useTranslation } from 'react-i18next';
import { useMutation } from '@apollo/client';
import {
Expand Down 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