Skip to content

Commit

Permalink
fix: Profil All Plans Ui colors
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric921 committed Jul 20, 2024
1 parent a8637b9 commit 5847f54
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/web/lib/features/task/daily-plan/outstanding-date.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export function OutstandingFilterDate({ profile }: IOutstandingFilterDate) {
<HorizontalSeparator />
</div>
</AccordionTrigger>
<AccordionContent className="bg-light--theme border-none dark:bg-dark--theme pb-12">
<AccordionContent className="bg-transparent border-none dark:bg-dark--theme pb-12">
{/* Plan header */}
<PlanHeader plan={plan} planMode="Outstanding" />
<Droppable droppableId={plan.id as string} key={plan.id} type="task">
Expand Down
7 changes: 4 additions & 3 deletions apps/web/lib/features/user-profile-plans.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ function AllPlans({ profile, currentTab = 'All Tasks' }: { profile: any; current
<HorizontalSeparator />
</div>
</AccordionTrigger>
<AccordionContent className="bg-light--theme border-none dark:bg-dark--theme">
<AccordionContent className="bg-transparent border-none dark:bg-dark--theme">
<PlanHeader plan={plan} planMode={currentTab as any} />
<Droppable
droppableId={plan.id as string}
Expand Down Expand Up @@ -245,7 +245,7 @@ function AllPlans({ profile, currentTab = 'All Tasks' }: { profile: any; current
{...provided.dragHandleProps}
style={{
...provided.draggableProps.style,
marginBottom: 8
marginBottom: 6
}}
>
<TaskCard
Expand All @@ -263,6 +263,7 @@ function AllPlans({ profile, currentTab = 'All Tasks' }: { profile: any; current
: undefined
}
plan={plan}
className='shadow-md'
/>
</div>
)}
Expand Down Expand Up @@ -381,7 +382,7 @@ export function PlanHeader({ plan, planMode }: { plan: IDailyPlan; planMode: Fil

return (
<div
className={`mb-8 flex ${planMode === 'Future Tasks' ? 'justify-start' : 'justify-around'} items-center gap-5`}
className={`mb-6 flex ${planMode === 'Future Tasks' ? 'justify-start' : 'justify-around'} items-center gap-5`}
>
{/* Planned Time */}

Expand Down

0 comments on commit 5847f54

Please sign in to comment.