[dyad] Fixed content overflow issues - wrote 2 file(s)
This commit is contained in:
@@ -37,14 +37,14 @@ export function SerpPreview({
|
||||
return (
|
||||
<div className="p-4 border rounded-lg bg-muted/50 w-full font-sans">
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="w-7 h-7 bg-background rounded-full flex items-center justify-center border">
|
||||
<div className="w-7 h-7 bg-background rounded-full flex items-center justify-center border flex-shrink-0">
|
||||
<Globe className="w-4 h-4 text-muted-foreground" />
|
||||
</div>
|
||||
<div>
|
||||
<p className="text-sm text-foreground font-medium -mb-0.5">
|
||||
<div className="min-w-0">
|
||||
<p className="text-sm text-foreground font-medium -mb-0.5 truncate">
|
||||
{displayUrl.split("/")[0]}
|
||||
</p>
|
||||
<p className="text-xs text-muted-foreground">{displayUrl}</p>
|
||||
<p className="text-xs text-muted-foreground break-all">{displayUrl}</p>
|
||||
</div>
|
||||
</div>
|
||||
<h3 className="text-xl text-blue-600 dark:text-blue-400 mt-2 truncate font-medium">
|
||||
|
||||
Reference in New Issue
Block a user