File tree Expand file tree Collapse file tree
apps/web/src/components/chat Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,8 @@ export function DraftHeroHeadline({
101101 < Menu >
102102 < MenuTrigger
103103 aria-label = { hasResolvedProject ? "Change project" : "Choose a project" }
104- className = "pointer-events-auto inline cursor-pointer border-foreground/60 border-b border-dotted text-foreground transition-colors hover:border-foreground/80 focus-visible:rounded-sm focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring"
104+ className = "pointer-events-auto inline-block max-w-64 truncate border-foreground/60 border-b border-dotted align-bottom text-foreground transition-colors hover:border-foreground/80 focus-visible:rounded-sm focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring"
105+ title = { activeProjectDisplayName ?? undefined }
105106 >
106107 { activeProjectDisplayName ?? "Choose a project" }
107108 </ MenuTrigger >
@@ -122,7 +123,9 @@ export function DraftHeroHeadline({
122123 { projectPickerEntries . map ( ( { group } ) => {
123124 return (
124125 < MenuRadioItem key = { group . projectKey } value = { group . projectKey } closeOnClick >
125- < span className = "min-w-0 truncate" > { group . displayName } </ span >
126+ < span className = "block min-w-0 truncate" title = { group . displayName } >
127+ { group . displayName }
128+ </ span >
126129 </ MenuRadioItem >
127130 ) ;
128131 } ) }
You can’t perform that action at this time.
0 commit comments