forked from farhoodlabs/paperclip
Relax sub-issue dialog banner layout
This commit is contained in:
@@ -1145,12 +1145,16 @@ export function NewIssueDialog() {
|
||||
|
||||
{isSubIssueMode ? (
|
||||
<div className="px-4 pb-2 shrink-0">
|
||||
<div className="inline-flex max-w-full items-center gap-1.5 rounded-md border border-border bg-muted/30 px-2.5 py-1 text-xs text-muted-foreground">
|
||||
<ListTree className="h-3.5 w-3.5 shrink-0" />
|
||||
<span className="shrink-0">Sub-issue of</span>
|
||||
<span className="font-medium text-foreground">{parentIssueLabel}</span>
|
||||
<div className="max-w-full rounded-md border border-border bg-muted/30 px-2.5 py-1.5 text-xs text-muted-foreground">
|
||||
<div className="flex items-center gap-1.5">
|
||||
<ListTree className="h-3.5 w-3.5 shrink-0" />
|
||||
<span className="shrink-0">Sub-issue of</span>
|
||||
<span className="font-medium text-foreground">{parentIssueLabel}</span>
|
||||
</div>
|
||||
{newIssueDefaults.parentTitle ? (
|
||||
<span className="truncate">· {newIssueDefaults.parentTitle}</span>
|
||||
<div className="pl-5 text-foreground/80 truncate">
|
||||
{newIssueDefaults.parentTitle}
|
||||
</div>
|
||||
) : null}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user