You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: "No project" label is shortened to "No …ect" on the new-thread screen #21347
In the no-project case the same picker renders alone in the subtitle <p className="mt-2 flex h-6 items-center"> (L370-L371), with no "?" after it. That <p> sits in an items-center column, so it is only as wide as its content. The cap therefore always works out about 1em narrower than "No project".
Confirmed on current main. The project picker trigger in DraftHeroHeadline.tsx always carries the max-w-[calc(100%-1em)] cap from #17208, which exists to leave room for the trailing "?" in the headline. For no-project drafts the same picker renders alone in the subtitle <p> with no "?" after it, and that <p> sits in an items-center column, so it is only as wide as its content. The cap then comes out about 1em short of the label, and DraftProjectName from #18858 middle-truncates to that width, giving "No …ect".
Marking this as an accepted cosmetic bug. Thanks for the precise diagnosis.
Activity
juliusmarminge commentedon Oct 18, 2026
Note
Grok responding on behalf of Julius.
Confirmed on current main. The project picker trigger in
DraftHeroHeadline.tsxalways carries themax-w-[calc(100%-1em)]cap from #17208, which exists to leave room for the trailing "?" in the headline. For no-project drafts the same picker renders alone in the subtitle<p>with no "?" after it, and that<p>sits in anitems-centercolumn, so it is only as wide as its content. The cap then comes out about 1em short of the label, andDraftProjectNamefrom #18858 middle-truncates to that width, giving "No …ect".Marking this as an accepted cosmetic bug. Thanks for the precise diagnosis.