style: issue list dropdown on next line

This commit is contained in:
Dakshesh Jain 2023-04-25 19:43:52 +05:30
parent a5c18e37c1
commit 028a350cd1

View File

@ -216,7 +216,7 @@ export const SingleListIssue: React.FC<Props> = ({
</a> </a>
</ContextMenu> </ContextMenu>
<div <div
className="flex items-center justify-between gap-2 border-b border-brand-base bg-brand-base last:border-b-0" className="flex flex-wrap items-center justify-between gap-2 border-b border-brand-base bg-brand-base last:border-b-0"
onContextMenu={(e) => { onContextMenu={(e) => {
e.preventDefault(); e.preventDefault();
setContextMenu(true); setContextMenu(true);
@ -224,7 +224,7 @@ export const SingleListIssue: React.FC<Props> = ({
}} }}
> >
<Link href={`/${workspaceSlug}/projects/${issue?.project_detail?.id}/issues/${issue.id}`}> <Link href={`/${workspaceSlug}/projects/${issue?.project_detail?.id}/issues/${issue.id}`}>
<div className="flex-grow cursor-pointer px-4 py-2.5"> <div className="flex-grow cursor-pointer px-4 pt-2.5 md:py-2.5">
<a className="group relative flex items-center gap-2"> <a className="group relative flex items-center gap-2">
{properties.key && ( {properties.key && (
<Tooltip <Tooltip
@ -245,7 +245,7 @@ export const SingleListIssue: React.FC<Props> = ({
</div> </div>
</Link> </Link>
<div className="flex flex-shrink flex-wrap items-center justify-end gap-2 py-2.5 pr-4 text-xs"> <div className="flex w-full flex-shrink flex-wrap items-center gap-2 px-4 pb-2.5 text-xs sm:w-auto md:px-0 md:py-2.5 md:pr-4">
{properties.priority && ( {properties.priority && (
<ViewPrioritySelect <ViewPrioritySelect
issue={issue} issue={issue}