style: kanban card height and padding

This commit is contained in:
Anmol Singh Bhatia 2023-08-16 16:29:34 +05:30
parent 1c5d1542e8
commit 37185271a2

View File

@ -246,7 +246,7 @@ export const SingleBoardIssue: React.FC<Props> = ({
setContextMenuPosition({ x: e.pageX, y: e.pageY }); setContextMenuPosition({ x: e.pageX, y: e.pageY });
}} }}
> >
<div className="group/card relative select-none p-3.5"> <div className="flex flex-col justify-between gap-1.5 group/card relative select-none px-3.5 py-3 h-[118px]">
{!isNotAllowed && ( {!isNotAllowed && (
<div <div
ref={actionSectionRef} ref={actionSectionRef}
@ -296,9 +296,9 @@ export const SingleBoardIssue: React.FC<Props> = ({
</div> </div>
)} )}
<Link href={`/${workspaceSlug}/projects/${issue.project}/issues/${issue.id}`}> <Link href={`/${workspaceSlug}/projects/${issue.project}/issues/${issue.id}`}>
<a> <a className="flex flex-col gap-1.5">
{properties.key && ( {properties.key && (
<div className="mb-2.5 text-xs font-medium text-custom-text-200"> <div className="text-xs font-medium text-custom-text-200">
{issue.project_detail.identifier}-{issue.sequence_id} {issue.project_detail.identifier}-{issue.sequence_id}
</div> </div>
)} )}
@ -306,7 +306,7 @@ export const SingleBoardIssue: React.FC<Props> = ({
</a> </a>
</Link> </Link>
<div <div
className={`mt-2.5 flex items-center gap-2 text-xs ${ className={`flex items-center gap-2 text-xs ${
isDropdownActive ? "" : "overflow-x-scroll" isDropdownActive ? "" : "overflow-x-scroll"
}`} }`}
> >