Skip to content

Commit

Permalink
refactored OrganizationDashboard css/ closes PalisadoesFoundation#2513
Browse files Browse the repository at this point in the history
  • Loading branch information
devender18 committed Dec 3, 2024
1 parent c80b44f commit be5beb7
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 36 deletions.
35 changes: 0 additions & 35 deletions src/screens/OrganizationDashboard/OrganizationDashboard.module.css

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import type {
InterfaceQueryOrganizationsListObject,
InterfaceVolunteerRank,
} from 'utils/interfaces';
import styles from './OrganizationDashboard.module.css';
import styles from '../../../src/style/app.module.css';
import { VOLUNTEER_RANKING } from 'GraphQl/Queries/EventVolunteerQueries';

/**
Expand Down
36 changes: 36 additions & 0 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,42 @@ hr {
flex-direction: column;
}

.cardHeader {
padding: 1.25rem 1rem 1rem 1rem;
border-bottom: 1px solid var(--bs-gray-200);
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}

.cardHeader .cardTitle {
font-size: 1.2rem;
font-weight: 600;
}

.cardBody {
min-height: 180px;
padding-top: 0;
max-height: 570px;
overflow-y: scroll;
width: 100%;
max-width: 400px;
}

.cardBody .emptyContainer {
display: flex;
height: 180px;
justify-content: center;
align-items: center;
}

.cardBody .rankings {
aspect-ratio: 1;
border-radius: 50%;
width: 35px;
}

@media (max-width: 1020px) {
.btnsContainer {
flex-direction: column;
Expand Down

0 comments on commit be5beb7

Please sign in to comment.