Skip to content

Commit 237e170

Browse files
committed
Keep preview header hover background transparent
- Preserve the muted icon styling on preview action and close buttons - Remove the default ghost hover background in the preview header
1 parent b0d5e16 commit 237e170

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/web/src/components/PreviewPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export function PreviewPanel({ threadId, projectId, projectName, onClose }: Prev
260260
type="button"
261261
size="icon-xs"
262262
variant="ghost"
263-
className="text-muted-foreground/55 hover:text-foreground"
263+
className="text-muted-foreground/55 hover:bg-transparent hover:text-foreground"
264264
aria-label="Preview actions"
265265
/>
266266
}
@@ -291,7 +291,7 @@ export function PreviewPanel({ threadId, projectId, projectName, onClose }: Prev
291291
type="button"
292292
size="icon-xs"
293293
variant="ghost"
294-
className="text-muted-foreground/55 hover:text-foreground"
294+
className="text-muted-foreground/55 hover:bg-transparent hover:text-foreground"
295295
aria-label="Close preview"
296296
onClick={onClosePreview}
297297
>

0 commit comments

Comments
 (0)