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 @@ -371,12 +371,20 @@ function ProjectPage() {

<div className="rounded-md border border-border/60 bg-card/40 px-3 py-2 text-sm">
<div className="flex items-center gap-2 text-muted-foreground">
<GoGitBranch className="size-3.5" />
<span className="font-mono">
<GoGitBranch className="size-3.5 shrink-0" />
<span
className="min-w-0 truncate font-mono"
title={generatedBranchName || "branch-name"}
>
{generatedBranchName || "branch-name"}
</span>
<span className="text-muted-foreground/50">from</span>
<span className="font-mono">
<span className="shrink-0 text-muted-foreground/50">
from
</span>
<span
className="min-w-0 truncate font-mono"
title={effectiveCompareBaseBranch ?? undefined}
>
{effectiveCompareBaseBranch}
</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,12 @@ export function BaseBranchSelector({
<PopoverTrigger asChild>
<button
type="button"
className="inline-flex items-center gap-0.5 font-medium text-foreground hover:underline"
className="inline-flex min-w-0 items-center gap-0.5 font-medium text-foreground hover:underline"
>
{currentValue}
<ChevronDown className="size-3" />
<span className="min-w-0 truncate" title={currentValue}>
{currentValue}
</span>
<ChevronDown className="size-3 shrink-0" />
</button>
</PopoverTrigger>
<PopoverContent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ export function ChangesHeader({
/>
) : (
<>
<span className="min-w-0 truncate font-medium">
<span
className="min-w-0 truncate font-medium"
title={currentBranch.name}
>
{currentBranch.name}
</span>
{canRename && (
Expand Down
Loading