mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 05:29:12 +00:00
Wrap test in suggestionCard
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user