Skip to content

The open-source app everyone uses to manage agents at work

Relax sub-issue dialog banner layout

dotta2775a5652bbe
diff --git a/ui/src/components/NewIssueDialog.tsx b/ui/src/components/NewIssueDialog.tsx
index f402af2738..1863d494e8 100644
--- a/ui/src/components/NewIssueDialog.tsx
+++ b/ui/src/components/NewIssueDialog.tsx
@@ -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>