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

Refactored CSS changes for src/screens/EventManagement #2659

Closed
Show file tree
Hide file tree
Changes from all 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
101 changes: 0 additions & 101 deletions src/components/EventManagement/Dashboard/EventDashboard.module.css

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useState } from 'react';
import { Col, Row } from 'react-bootstrap';
import styles from './EventDashboard.module.css';
import styles from '../../../style/app.module.css';
import { useTranslation } from 'react-i18next';
import { EVENT_DETAILS } from 'GraphQl/Queries/Queries';
import { useQuery } from '@apollo/client';
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import type {
import AgendaItemsContainer from 'components/AgendaItems/AgendaItemsContainer';
import AgendaItemsCreateModal from 'components/AgendaItems/AgendaItemsCreateModal';

import styles from './EventAgendaItems.module.css';
import styles from '../../../style/app.module.css';
import Loader from 'components/Loader/Loader';

/**
Expand Down Expand Up @@ -177,7 +177,7 @@ function EventAgendaItems(props: { eventId: string }): JSX.Element {
<div className={styles.eventAgendaItemContainer}>
<div className={`bg-white rounded-4 my-3`}>
<div className={`pt-4 mx-4`}>
<div className={styles.btnsContainer}>
<div className={styles.agendabtnsContainer}>
rahulch07 marked this conversation as resolved.
Show resolved Hide resolved
<div className=" d-none d-lg-inline flex-grow-1 d-flex align-items-center border bg-light-subtle rounded-3">
{/* <input
type="search"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
Table,
FormControl,
} from 'react-bootstrap';
import styles from './EventsAttendance.module.css';
import styles from '../../../style/app.module.css';
import { useLazyQuery } from '@apollo/client';
import { EVENT_ATTENDEES } from 'GraphQl/Queries/Queries';
import { useParams, Link } from 'react-router-dom';
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,13 @@ describe('Testing OrganizationScreen', () => {
const closeButton = screen.getByTestId('closeMenu');
fireEvent.click(closeButton);

// Check for expand class after closing
expect(screen.getByTestId('mainpageright')).toHaveClass(styles.expand);

const openButton = screen.getByTestId('openMenu');
fireEvent.click(openButton);

// Check for expand class after opening
// Check for contract class after opening
expect(screen.getByTestId('mainpageright')).toHaveClass(styles.contract);
});

Expand Down
2 changes: 1 addition & 1 deletion src/screens/Leaderboard/Leaderboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import silver from 'assets/images/silver.png';
import bronze from 'assets/images/bronze.png';

import type { InterfaceVolunteerRank } from 'utils/interfaces';
import styles from '../OrganizationActionItems/OrganizationActionItems.module.css';
import styles from '../../style/app.module.css';
import Loader from 'components/Loader/Loader';
import {
DataGrid,
Expand Down
2 changes: 1 addition & 1 deletion src/screens/OrganizationActionItems/ItemDeleteModal.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import { Modal, Button } from 'react-bootstrap';
import styles from './OrganizationActionItems.module.css';
import styles from '../../style/app.module.css';
import { useMutation } from '@apollo/client';
import { DELETE_ACTION_ITEM_MUTATION } from 'GraphQl/Mutations/ActionItemMutations';
import { toast } from 'react-toastify';
Expand Down
2 changes: 1 addition & 1 deletion src/screens/OrganizationActionItems/ItemViewModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import dayjs from 'dayjs';
import type { FC } from 'react';
import { Button, Form, Modal } from 'react-bootstrap';
import type { InterfaceActionItemInfo } from 'utils/interfaces';
import styles from './OrganizationActionItems.module.css';
import styles from '../../style/app.module.css';
import { useTranslation } from 'react-i18next';
import { FormControl, TextField } from '@mui/material';
import { TaskAlt, HistoryToggleOff } from '@mui/icons-material';
Expand Down
Loading
Loading