Skip to content

Commit

Permalink
style: styling search
Browse files Browse the repository at this point in the history
  • Loading branch information
andresin87 committed Oct 30, 2023
1 parent e8a01cb commit 8b3e300
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/components/Shared/CmdK.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ export function CmdK() {
open={isOpen}
onOpenChange={value => {
setActiveItem(-1)
setQuery('')
setIsOpen(value)
}}
>
Expand All @@ -203,9 +204,9 @@ export function CmdK() {
</Dialog.Trigger>

<Dialog.Portal>
<Dialog.Overlay className="backdrop-blur-sm" />
<Dialog.Overlay className="backdrop-blur-sm backdrop-opacity-dim-0 ease-in" />

<Dialog.Content className="overflow-y-auto" asChild>
<Dialog.Content className="overflow-y-auto opacity-dim-1" asChild>
<Command label="Search documentation..." shouldFilter={false}>
<Dialog.Header className="!px-lg !py-xl">
<InputGroup onKeyDown={onInputKeyDown}>
Expand Down

0 comments on commit 8b3e300

Please sign in to comment.