Skip to content

Commit

Permalink
update item padding
Browse files Browse the repository at this point in the history
  • Loading branch information
tuckner committed Jan 5, 2024
1 parent 4b01b5c commit 777e9ab
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Board/TaskItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export default function TaskItem({ tasks, index }: Props) {
setIsOpen(true);
}}
className="hover:opacity-60 shadow-lg
cursor-pointer bg-white dark:bg-secondary mb-4 rounded-lg py-6 px-4"
cursor-pointer bg-white dark:bg-secondary mb-4 rounded-lg py-4 px-4"
>
<div className="hidden">
{tasks.subtasks.map((subtask, index) => (
Expand All @@ -45,9 +45,9 @@ export default function TaskItem({ tasks, index }: Props) {
</div>
))}
</div>
<div className="flex justify-between">
<p className="font-bold">{tasks.name}</p>
<p className="pt-2 text-xs text-slate font-bold">
<div className="flex align-top justify-between">
<p className="font-bold pr-2">{tasks.name}</p>
<p className="pt-1 text-xs text-slate font-bold">
{" "}
A{tasks.id}
</p>
Expand Down

0 comments on commit 777e9ab

Please sign in to comment.