Skip to content

Commit 1d1f0a7

Browse files
authored
Fix search container shadow (#3770)
1 parent 590729c commit 1d1f0a7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/curvy-forks-joke.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"gitbook": patch
3+
---
4+
5+
Fix search container shadow

packages/gitbook/src/components/primitives/Popover.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function Popover(props: {
2020
collisionPadding={contentProps?.collisionPadding ?? 16}
2121
sideOffset={contentProps?.sideOffset ?? 4}
2222
className={tcls(
23-
'z-50 max-h-(--radix-popover-content-available-height) max-w-xs animate-scale-in overflow-y-auto overflow-x-hidden circular-corners:rounded-3xl rounded-corners:rounded-md bg-tint px-4 py-3 text-sm text-tint depth-subtle:shadow-lg shadow-tint outline-hidden ring-1 ring-tint transition-all empty:hidden',
23+
'z-50 max-h-(--radix-popover-content-available-height) max-w-xs animate-scale-in overflow-y-auto overflow-x-hidden circular-corners:rounded-3xl rounded-corners:rounded-md bg-tint px-4 py-3 text-sm text-tint depth-subtle:shadow-xl shadow-tint-12/4 outline-hidden ring-1 ring-tint transition-all empty:hidden dark:shadow-tint-1/6',
2424
contentProps?.className
2525
)}
2626
style={{

0 commit comments

Comments
 (0)