chore: remove gradient colors for text preview
This was competing visually with other previews.
This commit is contained in:
@@ -49,7 +49,7 @@ function TextPreview({ particle }: { particle: StreamParticle }) {
|
|||||||
// only show x first chars for preview, to avoid overflow and also to determine text size
|
// only show x first chars for preview, to avoid overflow and also to determine text size
|
||||||
const truncated = data.content.length > 30 ? data.content.slice(0, 30) + "..." : data.content;
|
const truncated = data.content.length > 30 ? data.content.slice(0, 30) + "..." : data.content;
|
||||||
return (
|
return (
|
||||||
<div className="flex h-full w-full items-center justify-center bg-gradient-to-br from-black-500/15 to-indigo-500/15 p-4">
|
<div className="flex h-full w-full items-center justify-center p-4">
|
||||||
<p
|
<p
|
||||||
className={cn(
|
className={cn(
|
||||||
"line-clamp-4 text-center leading-relaxed text-4xl",
|
"line-clamp-4 text-center leading-relaxed text-4xl",
|
||||||
|
|||||||
Reference in New Issue
Block a user