Skip to content

Commit

Permalink
fix: handled css changes
Browse files Browse the repository at this point in the history
Signed-off-by: karan <[email protected]>
  • Loading branch information
16-karan committed Oct 13, 2023
1 parent 404541c commit 2b71441
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions src/components/Ecosystem/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const initialPageState = {
};

export const RoleTablet = ({ role }: IRoleTablet) => (
<div className='text-[#467FFF] bg-[#C8DCFF] w-fit py-1.5 px-3 rounded-full ml-3'>{role}</div>
<div className='bg-primary-100 text-primary-800 dark:bg-gray-900 dark:text-primary-400 border border-primary-100 dark:border-primary-500 mr-2 px-2.5 py-1 rounded-md m-1'>{role}</div>
)

const Dashboard = () => {
Expand Down Expand Up @@ -344,11 +344,12 @@ const Dashboard = () => {
Edit Ecosystem
</div>
</Dropdown.Item>
<Dropdown.Item>
{/* required for future implementation */}
{/* <Dropdown.Item>
<div>
Enable/Disable Ecosystem
</div>
</Dropdown.Item>
</Dropdown.Item> */}
<Dropdown.Item>
<div>
Manual Registration
Expand Down
8 changes: 4 additions & 4 deletions src/components/Ecosystem/MemberList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ const MemberList = () => {
<span
className={`${
member.ecosystemRole.name === 'Ecosystem Lead'
? 'bg-primary-100 text-primary-800 rounded dark:bg-gray-900 dark:text-primary-400 border border-primary-100 dark:border-primary-500'
: 'bg-green-100 text-green-800 rounded dark:bg-gray-700 dark:text-green-400 border border-green-100 dark:border-green-500'
}'text-sm font-medium mr-2 px-2.5 py-1 rounded-md'`}
? 'bg-primary-100 text-primary-800 dark:bg-gray-900 dark:text-primary-400 border border-primary-100 dark:border-primary-500'
: 'bg-green-100 text-green-800 dark:bg-gray-700 dark:text-green-400 border border-green-100 dark:border-green-500'
} text-sm font-medium mr-2 px-2.5 py-1 rounded-md`}
>
{member.ecosystemRole.name}
</span>
Expand All @@ -88,7 +88,7 @@ const MemberList = () => {
member.status === 'SUSPENDED'
? 'bg-red-100 text-red-800 rounded dark:bg-gray-900 dark:text-red-300 border-red-100 dark:border-red-500 border'
: 'bg-green-100 text-green-700 dark:bg-gray-700 dark:text-green-400 rounded border border-green-100 dark:border-green-500'
}'text-sm font-medium mr-2 px-2.5 py-1 rounded'`}
} text-sm font-medium mr-2 px-2.5 py-1 rounded-md`}
>
{member.status}
</span>
Expand Down

0 comments on commit 2b71441

Please sign in to comment.