Skip to content

Commit 2a35578

Browse files
authored
Merge pull request #21 from mwmbl/completions-z-order
fix: put the search completion box clearly on top of stuff below it
2 parents 3512ae2 + 85dfba3 commit 2a35578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/components/custom/search/SearchBar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
{/if}
8383

8484
<Card.Root
85-
class={'absolute top-12 flex w-[calc(100%)] rounded-b-2xl rounded-t-none border-none' +
85+
class={'absolute top-12 z-10 flex w-[calc(100%)] rounded-b-2xl rounded-t-none border-none shadow' +
8686
(completionsExist ? ' px-4 pb-4 pt-2' : '')}
8787
>
8888
<ol>

0 commit comments

Comments
 (0)