π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-5761]fix: intake spacing issue (#8399)
Vamsi Krishna1ad57726947b
diff --git a/apps/web/core/components/inbox/content/issue-properties.tsx b/apps/web/core/components/inbox/content/issue-properties.tsxindex 807d9e235a..c9d1419777 100644--- a/apps/web/core/components/inbox/content/issue-properties.tsx+++ b/apps/web/core/components/inbox/content/issue-properties.tsx@@ -1,4 +1,3 @@-import React from "react";import { observer } from "mobx-react";import {StatePropertyIcon,@@ -58,7 +57,7 @@ export const InboxIssueContentProperties = observer(function InboxIssueContentPrreturn (<div className="flex w-full flex-col divide-y-2 divide-subtle-1"><div className="w-full overflow-y-auto">- <h5 className="text-13 font-medium my-4">Properties</h5>+ <h5 className="text-body-sm-medium mb-2">Properties</h5><div className={`divide-y-2 divide-subtle-1 ${!isEditable ? "opacity-60" : ""}`}><div className="flex flex-col gap-3">{/* Intake State */}diff --git a/apps/web/core/components/inbox/content/issue-root.tsx b/apps/web/core/components/inbox/content/issue-root.tsxindex c93df6f0fb..3c7b3c75dc 100644--- a/apps/web/core/components/inbox/content/issue-root.tsx+++ b/apps/web/core/components/inbox/content/issue-root.tsx@@ -166,7 +166,7 @@ export const InboxIssueMainContent = observer(function InboxIssueMainContent(proreturn (<>- <div className="rounded-lg space-y-4">+ <div className="space-y-4 pb-4">{duplicateIssues.length > 0 && (<DeDupeIssuePopoverRootworkspaceSlug={workspaceSlug}@@ -249,24 +249,30 @@ export const InboxIssueMainContent = observer(function InboxIssueMainContent(pro</div></div>- <IssueAttachmentRoot- workspaceSlug={workspaceSlug}- projectId={projectId}- issueId={issue.id}- disabled={!isEditable}- />+ <div className="py-4">+ <IssueAttachmentRoot+ workspaceSlug={workspaceSlug}+ projectId={projectId}+ issueId={issue.id}+ disabled={!isEditable}+ />+ </div>- <InboxIssueContentProperties- workspaceSlug={workspaceSlug}- projectId={projectId}- issue={issue}- issueOperations={issueOperations}- isEditable={isEditable}- duplicateIssueDetails={inboxIssue?.duplicate_issue_detail}- isIntakeAccepted={isIntakeAccepted}- />+ <div className="py-4">+ <InboxIssueContentProperties+ workspaceSlug={workspaceSlug}+ projectId={projectId}+ issue={issue}+ issueOperations={issueOperations}+ isEditable={isEditable}+ duplicateIssueDetails={inboxIssue?.duplicate_issue_detail}+ isIntakeAccepted={isIntakeAccepted}+ />+ </div>- <IssueActivity workspaceSlug={workspaceSlug} projectId={projectId} issueId={issue.id} isIntakeIssue />+ <div className="pt-4">+ <IssueActivity workspaceSlug={workspaceSlug} projectId={projectId} issueId={issue.id} isIntakeIssue />+ </div></>);});diff --git a/apps/web/core/components/inbox/content/root.tsx b/apps/web/core/components/inbox/content/root.tsxindex d363ca165c..f330f64689 100644--- a/apps/web/core/components/inbox/content/root.tsx+++ b/apps/web/core/components/inbox/content/root.tsx@@ -1,4 +1,3 @@-import type { FC } from "react";import { useEffect, useState } from "react";import { observer } from "mobx-react";import useSWR from "swr";@@ -94,7 +93,7 @@ export const InboxContentRoot = observer(function InboxContentRoot(props: TInboxembedRemoveCurrentNotification={embedRemoveCurrentNotification}/></div>- <ContentWrapper className="space-y-5 divide-y-2 divide-subtle-1">+ <ContentWrapper className="divide-y-2 divide-subtle-1"><InboxIssueMainContentworkspaceSlug={workspaceSlug}projectId={projectId}diff --git a/apps/web/core/components/issues/attachment/root.tsx b/apps/web/core/components/issues/attachment/root.tsxindex 8ccaa7ae84..e1060746b1 100644--- a/apps/web/core/components/issues/attachment/root.tsx+++ b/apps/web/core/components/issues/attachment/root.tsx@@ -1,4 +1,3 @@-import type { FC } from "react";import { observer } from "mobx-react";// hooksimport { useAttachmentOperations } from "../issue-detail-widgets/attachments/helper";@@ -20,8 +19,8 @@ export const IssueAttachmentRoot = observer(function IssueAttachmentRoot(props:const attachmentHelpers = useAttachmentOperations(workspaceSlug, projectId, issueId);return (- <div className="relative py-3 space-y-3">- <h3 className="text-16">Attachments</h3>+ <div className="relative space-y-3">+ <h3 className="text-body-sm-medium">Attachments</h3><div className="grid grid-cols-1 gap-3 sm:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-4"><IssueAttachmentUploadworkspaceSlug={workspaceSlug}diff --git a/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx b/apps/web/core/components/issues/issue-detail/label/label-list-item.tsxindex 77a68153e3..0d2bdbc9bb 100644--- a/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx+++ b/apps/web/core/components/issues/issue-detail/label/label-list-item.tsx@@ -31,14 +31,10 @@ export const LabelListItem = observer(function LabelListItem(props: TLabelListItif (!label) return <></>;return (- <Button key={labelId} type="button" variant="tertiary" onClick={() => void handleLabel()} disabled={disabled}>+ <Button variant="tertiary" size="sm" key={labelId} onClick={handleLabel} disabled={disabled}><LabelFilledIcon className="size-3" color={label.color ?? "#000000"} />- <div className="flex-shrink-0">{label.name}</div>- {!disabled && (- <div className="flex-shrink-0">- <CloseIcon className="transition-all h-2.5 w-2.5 group-hover:text-danger" />- </div>- )}+ <span className="text-body-xs-regular">{label.name}</span>+ {!disabled && <CloseIcon className="transition-all h-2.5 w-2.5 group-hover:text-danger" />}</Button>);});