Skip to content

Commit 2ed7e25

Browse files
committed
fix focus shadow being overlapped
1 parent fb9089c commit 2ed7e25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ui/src/components/feed/feed-panel.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ export const FeedPanel = () => {
3939
>
4040
<div
4141
class={cx(
42-
'sticky top-0 z-10 flex flex-col gap-2 bg-white/25 p-4 backdrop-blur-md',
43-
containerScroll.y > 0 && 'shadow',
42+
'sticky top-0 flex flex-col gap-2 bg-white/25 p-4 backdrop-blur-md',
43+
containerScroll.y > 0 && 'z-10 shadow',
4444
)}
4545
>
4646
<div class="flex justify-between">
@@ -75,7 +75,7 @@ export const FeedPanel = () => {
7575
</Tabs>
7676
</div>
7777

78-
<div class="p-4 pt-0">
78+
<div class={cx('p-4 pt-0', containerScroll.y > 0 ? 'z-auto' : 'z-10')}>
7979
<EntryList containerBounds={containerBounds} />
8080
</div>
8181
</Panel>

0 commit comments

Comments
 (0)