Skip to content

Commit

Permalink
fixed className conflicts with global css file
Browse files Browse the repository at this point in the history
  • Loading branch information
abbi4code committed Dec 24, 2024
1 parent 4590ea5 commit 79600d7
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 333 deletions.
324 changes: 0 additions & 324 deletions src/screens/OrgList/OrgList.module.css

This file was deleted.

17 changes: 9 additions & 8 deletions src/screens/OrgList/OrgList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ function orgList(): JSX.Element {
return (
<>
{/* Buttons Container */}
<div className={styles.btnsContainer}>
<div className={styles.btnsContainerOrgList}>
<div className={styles.input}>
<Form.Control
type="name"
Expand All @@ -344,14 +344,15 @@ function orgList(): JSX.Element {
/>
<Button
tabIndex={-1}
className={`position-absolute z-10 bottom-0 end-0 h-100 d-flex justify-content-center align-items-center`}
// className={`position-absolute z-10 bottom-0 end-0 h-100 d-flex justify-content-center align-items-center`}
className={styles.searchButtonOrgList}
onClick={handleSearchByBtnClick}
data-testid="searchBtn"
>
<Search />
</Button>
</div>
<div className={styles.btnsBlock}>
<div className={styles.btnsBlockOrgList}>
<div className="d-flex">
<Dropdown
aria-expanded="false"
Expand Down Expand Up @@ -422,7 +423,7 @@ function orgList(): JSX.Element {
loader={
<>
{[...Array(perPageResult)].map((_, index) => (
<div key={index} className={styles.itemCard}>
<div key={index} className={styles.itemCardOrgList}>
<div className={styles.loadingWrapper}>
<div className={styles.innerContainer}>
<div
Expand All @@ -442,7 +443,7 @@ function orgList(): JSX.Element {
</>
}
hasMore={hasMore}
className={styles.listBox}
className={styles.listBoxOrgList}
data-testid="organizations-list"
endMessage={
<div className={'w-100 text-center my-4'}>
Expand All @@ -454,7 +455,7 @@ function orgList(): JSX.Element {
? orgsData?.organizationsConnection.map(
(item: InterfaceOrgConnectionInfoType) => {
return (
<div key={item._id} className={styles.itemCard}>
<div key={item._id} className={styles.itemCardOrgList}>
<OrgListCard data={item} />
</div>
);
Expand All @@ -466,7 +467,7 @@ function orgList(): JSX.Element {
(item: InterfaceOrgConnectionInfoType) => {
if (isAdminForCurrentOrg(item)) {
return (
<div key={item._id} className={styles.itemCard}>
<div key={item._id} className={styles.itemCardOrgList}>
<OrgListCard data={item} />
</div>
);
Expand All @@ -477,7 +478,7 @@ function orgList(): JSX.Element {
{isLoading && (
<>
{[...Array(perPageResult)].map((_, index) => (
<div key={index} className={styles.itemCard}>
<div key={index} className={styles.itemCardOrgList}>
<div className={styles.loadingWrapper}>
<div className={styles.innerContainer}>
<div
Expand Down
Loading

0 comments on commit 79600d7

Please sign in to comment.