Skip to content

Commit

Permalink
refactor css for OrganizationDashboard screen, closes PalisadoesFound…
Browse files Browse the repository at this point in the history
  • Loading branch information
devender18 committed Dec 2, 2024
1 parent f9e10b8 commit f91866d
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 f91866d

Please sign in to comment.