Skip to content

Commit

Permalink
fix: colors on Others Plan Tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
Cedric921 committed Jul 20, 2024
1 parent 5847f54 commit 730c663
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions apps/web/lib/features/task/daily-plan/future-tasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export function FutureTasks({ profile }: { profile: any }) {
<HorizontalSeparator />
</div>
</AccordionTrigger>
<AccordionContent className="bg-light--theme border-none dark:bg-dark--theme">
<AccordionContent className="border-none dark:bg-dark--theme">
<PlanHeader plan={plan} planMode="Future Tasks" />
<Droppable droppableId={plan.id as string} key={plan.id} type="task">
{(provided) => (
Expand All @@ -79,7 +79,7 @@ export function FutureTasks({ profile }: { profile: any }) {
{...provided.dragHandleProps}
style={{
...provided.draggableProps.style,
marginBottom: 8
marginBottom: 4
}}
>
<TaskCard
Expand All @@ -94,6 +94,7 @@ export function FutureTasks({ profile }: { profile: any }) {
taskTitleClassName="mt-[0.0625rem]"
plan={plan}
planMode="Future Tasks"
className='shadow-[0px_0px_15px_0px_#e2e8f0]'
/>
</div>
)}
Expand Down
3 changes: 2 additions & 1 deletion apps/web/lib/features/task/daily-plan/outstanding-all.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function OutstandingAll({ profile }: OutstandingAll) {
{...provided.dragHandleProps}
style={{
...provided.draggableProps.style,
marginBottom: 8
marginBottom: 4
}}
>
<TaskCard
Expand All @@ -77,6 +77,7 @@ export function OutstandingAll({ profile }: OutstandingAll) {
taskBadgeClassName={`rounded-sm`}
taskTitleClassName="mt-[0.0625rem]"
planMode="Outstanding"
className='shadow-[0px_0px_15px_0px_#e2e8f0]'
/>
</div>
)}
Expand Down
5 changes: 3 additions & 2 deletions apps/web/lib/features/task/daily-plan/past-tasks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function PastTasks({ profile, currentTab = 'Past Tasks' }: { profile: any
<HorizontalSeparator />
</div>
</AccordionTrigger>
<AccordionContent className="bg-light--theme border-none dark:bg-dark--theme pb-12">
<AccordionContent className="border-none dark:bg-dark--theme pb-6">
{/* Plan header */}
<PlanHeader plan={plan} planMode="Outstanding" />
<Droppable
Expand Down Expand Up @@ -78,7 +78,7 @@ export function PastTasks({ profile, currentTab = 'Past Tasks' }: { profile: any
{...provided.dragHandleProps}
style={{
...provided.draggableProps.style,
marginBottom: 8
marginBottom: 4
}}
>
<TaskCard
Expand All @@ -96,6 +96,7 @@ export function PastTasks({ profile, currentTab = 'Past Tasks' }: { profile: any
? 'Past Tasks'
: undefined
}
className='shadow-[0px_0px_15px_0px_#e2e8f0]'
/>
</div>
)}
Expand Down
2 changes: 1 addition & 1 deletion apps/web/lib/features/user-profile-plans.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ function AllPlans({ profile, currentTab = 'All Tasks' }: { profile: any; current
: undefined
}
plan={plan}
className='shadow-md'
className='shadow-[0px_0px_15px_0px_#e2e8f0]'
/>
</div>
)}
Expand Down

0 comments on commit 730c663

Please sign in to comment.