Fix overflowing recommended follow up questions in assistant (#3502)

This commit is contained in:
Valentino Hudhra
2025-07-24 11:03:04 +02:00
committed by GitHub
parent 054a1634ab
commit 56d1b8fe2d
@@ -15,7 +15,7 @@ export function AIChatFollowupSuggestions(props: {
}
return (
<div className="mt-auto flex flex-row flex-wrap justify-end gap-2">
<div className="mt-auto flex w-full flex-wrap justify-end gap-2">
{chat.followUpSuggestions.map((suggestion, index) => (
<Button
key={index}
@@ -23,7 +23,7 @@ export function AIChatFollowupSuggestions(props: {
chatController.postMessage({ message: suggestion });
}}
label={suggestion}
className="animate-[present_500ms_both] whitespace-normal text-left ring-1 ring-tint-subtle"
className="!whitespace-normal max-w-full animate-[present_500ms_both] text-left ring-1 ring-tint-subtle"
size="medium"
variant="blank"
style={{