| ... | ... | @@ -152,10 +152,7 @@ function ComposerMentionDecorator(props: { path: string }) { |
| 152 | 152 | return ( |
| 153 | 153 | <Tooltip> |
| 154 | 154 | <TooltipTrigger render={chip} /> |
| 155 | | <TooltipPopup |
| 156 | | side="top" |
| 157 | | className="max-w-[30rem] whitespace-normal leading-tight wrap-anywhere" |
| 158 | | > |
| 155 | <TooltipPopup side="top" className="max-w-120 whitespace-normal leading-tight wrap-anywhere"> |
| 159 | 156 | {props.path} |
| 160 | 157 | </TooltipPopup> |
| 161 | 158 | </Tooltip> |
| ... | ... | @@ -275,7 +272,7 @@ function ComposerSkillDecorator(props: { skillLabel: string; skillDescription: s |
| 275 | 272 | return ( |
| 276 | 273 | <Tooltip> |
| 277 | 274 | <TooltipTrigger render={chip} /> |
| 278 | | <TooltipPopup side="top" className="max-w-[30rem] whitespace-normal leading-tight"> |
| 275 | <TooltipPopup side="top" className="max-w-120 whitespace-normal leading-tight"> |
| 279 | 276 | {props.skillDescription} |
| 280 | 277 | </TooltipPopup> |
| 281 | 278 | </Tooltip> |
| ... | ... | @@ -1624,7 +1621,7 @@ function ComposerPromptEditorInner({ |
| 1624 | 1621 | contentEditable={ |
| 1625 | 1622 | <ContentEditable |
| 1626 | 1623 | className={cn( |
| 1627 | | "block max-h-[200px] min-h-17.5 w-full overflow-y-auto whitespace-pre-wrap break-words bg-transparent text-[14px] leading-relaxed text-foreground focus:outline-none", |
| 1624 | "block max-h-[200px] min-h-17.5 w-full overflow-y-auto whitespace-pre-wrap wrap-break-word bg-transparent text-base sm:text-[14px] leading-relaxed text-foreground focus:outline-none", |
| 1628 | 1625 | className, |
| 1629 | 1626 | )} |
| 1630 | 1627 | data-testid="composer-editor" |
| ... | ... | @@ -1635,7 +1632,7 @@ function ComposerPromptEditorInner({ |
| 1635 | 1632 | } |
| 1636 | 1633 | placeholder={ |
| 1637 | 1634 | terminalContexts.length > 0 ? null : ( |
| 1638 | | <div className="pointer-events-none absolute inset-0 text-[14px] leading-relaxed text-muted-foreground/35"> |
| 1635 | <div className="pointer-events-none absolute inset-0 text-base sm:text-[14px] leading-relaxed text-muted-foreground/35"> |
| 1639 | 1636 | {placeholder} |
| 1640 | 1637 | </div> |
| 1641 | 1638 | ) |