Skip to content

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

fix: consistent label spacing in all properties panes

Forgotten3396a76c9c5b
diff --git a/ui/src/components/AgentProperties.tsx b/ui/src/components/AgentProperties.tsx
index 544e58c95e..bafd5955ab 100644
--- a/ui/src/components/AgentProperties.tsx
+++ b/ui/src/components/AgentProperties.tsx
@@ -23,8 +23,8 @@ const adapterLabels: Record<string, string> = {
function PropertyRow({ label, children }: { label: string; children: React.ReactNode }) {
return (
- <div className="flex items-center justify-between gap-3 py-1.5">
- <span className="text-xs text-muted-foreground shrink-0">{label}</span>
+ <div className="flex items-center gap-3 py-1.5">
+ <span className="text-xs text-muted-foreground shrink-0 w-20">{label}</span>
<div className="flex items-center gap-1.5 min-w-0">{children}</div>
</div>
);
diff --git a/ui/src/components/GoalProperties.tsx b/ui/src/components/GoalProperties.tsx
index 8c8724c97c..46210930d7 100644
--- a/ui/src/components/GoalProperties.tsx
+++ b/ui/src/components/GoalProperties.tsx
@@ -21,8 +21,8 @@ interface GoalPropertiesProps {
function PropertyRow({ label, children }: { label: string; children: React.ReactNode }) {
return (
- <div className="flex items-center justify-between gap-3 py-1.5">
- <span className="text-xs text-muted-foreground shrink-0">{label}</span>
+ <div className="flex items-center gap-3 py-1.5">
+ <span className="text-xs text-muted-foreground shrink-0 w-20">{label}</span>
<div className="flex items-center gap-1.5 min-w-0">{children}</div>
</div>
);
diff --git a/ui/src/components/IssueProperties.tsx b/ui/src/components/IssueProperties.tsx
index de6fad218b..66ff4e9ec5 100644
--- a/ui/src/components/IssueProperties.tsx
+++ b/ui/src/components/IssueProperties.tsx
@@ -22,8 +22,8 @@ interface IssuePropertiesProps {
function PropertyRow({ label, children }: { label: string; children: React.ReactNode }) {
return (
- <div className="flex items-center justify-between gap-3 py-1.5">
- <span className="text-xs text-muted-foreground shrink-0">{label}</span>
+ <div className="flex items-center gap-3 py-1.5">
+ <span className="text-xs text-muted-foreground shrink-0 w-20">{label}</span>
<div className="flex items-center gap-1.5 min-w-0">{children}</div>
</div>
);
diff --git a/ui/src/components/ProjectProperties.tsx b/ui/src/components/ProjectProperties.tsx
index 302668c660..71ba6a2ee8 100644
--- a/ui/src/components/ProjectProperties.tsx
+++ b/ui/src/components/ProjectProperties.tsx
@@ -19,8 +19,8 @@ interface ProjectPropertiesProps {
function PropertyRow({ label, children }: { label: string; children: React.ReactNode }) {
return (
- <div className="flex items-center justify-between gap-3 py-1.5">
- <span className="text-xs text-muted-foreground shrink-0">{label}</span>
+ <div className="flex items-center gap-3 py-1.5">
+ <span className="text-xs text-muted-foreground shrink-0 w-20">{label}</span>
<div className="flex items-center gap-1.5 min-w-0">{children}</div>
</div>
);