mirror of
https://github.com/block/buzz.git
synced 2026-11-01 15:01:12 +00:00
fix(desktop): drop background fill on rich link preview cards
Per feedback in the buzz-frontend thread: the card should sit on the theme's normal background. Remove the bg-muted fill and hover fill; keep the border with its hover emphasis. Signed-off-by: npub1cr79sy35cdv9vqsnnmkrgl8d0wp27edk7mqsw2p5s52upsrv28pszw3kur <c0fc581234c3585602139eec347ced7b82af65b6f6c10728348515c0c06c51c3@buzz.block.builderlab.xyz> Co-authored-by: Thomas Petersen <thomasp@squareup.com> Signed-off-by: Thomas Petersen <thomasp@squareup.com>
This commit is contained in:
parent
4625050818
commit
03d6176876
@@ -91,8 +91,8 @@ export function RichLinkPreviewCard({
|
||||
<div
|
||||
ref={cardRef}
|
||||
className={cn(
|
||||
"group/rich-preview relative w-96 max-w-full overflow-hidden rounded-2xl border border-border/70 bg-muted/30 px-3 py-2.5 transition-colors",
|
||||
"hover:border-border hover:bg-muted/50",
|
||||
"group/rich-preview relative w-96 max-w-full overflow-hidden rounded-2xl border border-border/70 px-3 py-2.5 transition-colors",
|
||||
"hover:border-border",
|
||||
className,
|
||||
)}
|
||||
data-rich-link-preview=""
|
||||
|
||||
Reference in New Issue
Block a user