Skip to content

Commit

Permalink
Merge pull request #189 from timlrx/kbar-modal-zindex
Browse files Browse the repository at this point in the history
Add z-index to kbarmodal
  • Loading branch information
timlrx authored Nov 2, 2024
2 parents 1225667 + 464eaf6 commit a76e92c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/thick-poems-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'pliny': patch
---

add z-index to kbar modal
5 changes: 5 additions & 0 deletions .changeset/thin-papayas-shout.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'pliny': patch
---

add umami options
4 changes: 2 additions & 2 deletions packages/pliny/src/search/KBarModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const KBarModal = ({ actions, isLoading }: { actions: Action[]; isLoading

return (
<KBarPortal>
<KBarPositioner className="bg-gray-300/50 p-4 backdrop-blur backdrop-filter dark:bg-black/50">
<KBarPositioner className="z-50 bg-gray-300/50 p-4 backdrop-blur backdrop-filter dark:bg-black/50">
<KBarAnimator className="w-full max-w-xl">
<div className="overflow-hidden rounded-2xl border border-gray-100 bg-gray-50 dark:border-gray-800 dark:bg-gray-900">
<div className="flex items-center space-x-4 p-4">
Expand Down Expand Up @@ -78,7 +78,7 @@ const RenderResults = () => {
}`}
>
<div className={'flex space-x-2'}>
{item.icon && <div className={"self-center"}>{item.icon}</div> }
{item.icon && <div className={'self-center'}>{item.icon}</div>}
<div className="block">
{item.subtitle && (
<div className={`${active ? 'text-gray-200' : 'text-gray-400'} text-xs`}>
Expand Down

0 comments on commit a76e92c

Please sign in to comment.