mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-23 15:38:55 +01:00
Wrap test in suggestionCard
This commit is contained in:
parent
48862a8400
commit
7bd2f83f97
1 changed files with 3 additions and 3 deletions
|
@ -19,11 +19,11 @@ export default function SuggestionCard(data: SuggestionCardProps) {
|
|||
|
||||
const cardContent = (
|
||||
<Card className={cardClassName}>
|
||||
<div className="flex">
|
||||
<CardContent className="m-0 p-2">
|
||||
<div className="flex w-full">
|
||||
<CardContent className="m-0 p-2 w-full">
|
||||
{convertSuggestionTitleToIconClass(data.title, data.color.toLowerCase())}
|
||||
<CardDescription
|
||||
className={`${descriptionClassName} sm:line-clamp-2 md:line-clamp-4 pt-1`}
|
||||
className={`${descriptionClassName} sm:line-clamp-2 md:line-clamp-4 pt-1 break-words whitespace-pre-wrap max-w-full`}
|
||||
>
|
||||
{data.body}
|
||||
</CardDescription>
|
||||
|
|
Loading…
Reference in a new issue