Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const IssueParentSelect = observer(function IssueParentSelect(props: TIss
<button
type="button"
className={cn(
"group flex items-center justify-between gap-2 px-2 py-0.5 rounded-lg outline-none",
"group flex items-center justify-between gap-2 px-2 py-0.5 rounded-sm outline-none",
{
"cursor-not-allowed": disabled,
"hover:bg-layer-1": !disabled,
Expand All @@ -84,7 +84,7 @@ export const IssueParentSelect = observer(function IssueParentSelect(props: TIss
disabled={disabled}
>
{issue.parent_id && parentIssue ? (
<div className="flex items-center gap-1 bg-success-subtle rounded-lg px-1.5 py-1">
<div className="flex items-center gap-1 bg-success-subtle rounded-sm px-1.5 py-1">
<Tooltip tooltipHeading="Title" tooltipContent={parentIssue.name} isMobile={isMobile}>
<Link href={workItemLink} target="_blank" rel="noopener noreferrer" onClick={(e) => e.stopPropagation()}>
{parentIssue?.project_id && parentIssueProjectDetails && (
Expand Down
10 changes: 5 additions & 5 deletions apps/web/core/components/issues/issue-detail/sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export const IssueDetailsSidebar = observer(function IssueDetailsSidebar(props:
onChange={(val) => issueOperations.update(workspaceSlug, projectId, issueId, { priority: val })}
disabled={!isEditable}
buttonVariant="border-with-text"
className="w-full grow"
className="w-full grow rounded-lg"
buttonContainerClassName="w-full text-left px-2 h-7.5"
buttonClassName="w-min h-auto whitespace-nowrap"
/>
Expand Down Expand Up @@ -150,7 +150,7 @@ export const IssueDetailsSidebar = observer(function IssueDetailsSidebar(props:
disabled={!isEditable}
buttonVariant="transparent-with-text"
className="group w-full grow"
buttonContainerClassName="w-full text-left"
buttonContainerClassName="w-full text-left h-7.5"
buttonClassName={`text-body-xs-regular ${issue?.start_date ? "" : "text-placeholder"}`}
hideIcon
clearIconClassName="h-3 w-3 hidden group-hover:inline"
Expand All @@ -171,7 +171,7 @@ export const IssueDetailsSidebar = observer(function IssueDetailsSidebar(props:
disabled={!isEditable}
buttonVariant="transparent-with-text"
className="group w-full grow"
buttonContainerClassName="w-full text-left"
buttonContainerClassName="w-full text-left h-7.5"
buttonClassName={cn("text-body-xs-regular", {
"text-placeholder": !issue.target_date,
"text-danger": shouldHighlightIssueDueDate(issue.target_date, stateDetails?.group),
Expand All @@ -194,7 +194,7 @@ export const IssueDetailsSidebar = observer(function IssueDetailsSidebar(props:
disabled={!isEditable}
buttonVariant="transparent-with-text"
className="group w-full grow"
buttonContainerClassName="w-full text-left"
buttonContainerClassName="w-full text-left h-7.5"
buttonClassName={`text-body-xs-regular ${issue?.estimate_point !== null ? "" : "text-placeholder"}`}
placeholder={t("common.none")}
hideIcon
Expand Down Expand Up @@ -224,7 +224,7 @@ export const IssueDetailsSidebar = observer(function IssueDetailsSidebar(props:
appendElement={<TransferHopInfo workItem={issue} />}
>
<IssueCycleSelect
className="w-full grow"
className="w-full grow h-7.5"
workspaceSlug={workspaceSlug}
projectId={projectId}
issueId={issueId}
Expand Down
14 changes: 7 additions & 7 deletions apps/web/core/components/issues/peek-overview/properties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const PeekOverviewProperties = observer(function PeekOverviewProperties(p
disabled={disabled}
buttonVariant="transparent-with-text"
className="w-full grow group"
buttonContainerClassName="w-full text-left"
buttonContainerClassName="w-full text-left h-7.5"
buttonClassName="text-body-xs-regular"
dropdownArrow
dropdownArrowClassName="h-3.5 w-3.5 hidden group-hover:inline"
Expand All @@ -102,7 +102,7 @@ export const PeekOverviewProperties = observer(function PeekOverviewProperties(p
multiple
buttonVariant={issue?.assignee_ids?.length > 1 ? "transparent-without-text" : "transparent-with-text"}
className="w-full grow group"
buttonContainerClassName="w-full text-left"
buttonContainerClassName="w-full text-left h-7.5"
buttonClassName={`text-body-xs-regular justify-between ${issue?.assignee_ids?.length > 0 ? "" : "text-placeholder"}`}
hideIcon={issue.assignee_ids?.length === 0}
dropdownArrow
Expand All @@ -116,7 +116,7 @@ export const PeekOverviewProperties = observer(function PeekOverviewProperties(p
onChange={(val) => issueOperations.update(workspaceSlug, projectId, issueId, { priority: val })}
disabled={disabled}
buttonVariant="border-with-text"
className="w-full grow group"
className="w-full grow group rounded-lg px-2"
buttonContainerClassName="w-full text-left"
buttonClassName="w-min h-auto whitespace-nowrap"
/>
Expand Down Expand Up @@ -147,7 +147,7 @@ export const PeekOverviewProperties = observer(function PeekOverviewProperties(p
maxDate={maxDate ?? undefined}
disabled={disabled}
className="w-full grow group"
buttonContainerClassName="w-full text-left"
buttonContainerClassName="w-full text-left h-7.5"
buttonClassName={`text-body-xs-regular ${issue?.start_date ? "" : "text-placeholder"}`}
hideIcon
clearIconClassName="h-3 w-3 hidden group-hover:inline"
Expand All @@ -168,7 +168,7 @@ export const PeekOverviewProperties = observer(function PeekOverviewProperties(p
minDate={minDate ?? undefined}
disabled={disabled}
className="w-full grow group"
buttonContainerClassName="w-full text-left"
buttonContainerClassName="w-full text-left h-7.5"
buttonClassName={cn("text-body-xs-regular", {
"text-placeholder": !issue.target_date,
"text-danger": shouldHighlightIssueDueDate(issue.target_date, stateDetails?.group),
Expand All @@ -189,7 +189,7 @@ export const PeekOverviewProperties = observer(function PeekOverviewProperties(p
disabled={disabled}
buttonVariant="transparent-with-text"
className="w-full grow group"
buttonContainerClassName="w-full text-left"
buttonContainerClassName="w-full text-left h-7.5"
buttonClassName={`text-body-xs-regular ${issue?.estimate_point !== undefined ? "" : "text-placeholder"}`}
placeholder="None"
hideIcon
Expand Down Expand Up @@ -219,7 +219,7 @@ export const PeekOverviewProperties = observer(function PeekOverviewProperties(p
appendElement={<TransferHopInfo workItem={issue} />}
>
<IssueCycleSelect
className="w-full grow"
className="w-full grow h-7.5"
workspaceSlug={workspaceSlug}
projectId={projectId}
issueId={issueId}
Expand Down