mirror of
https://github.com/fosrl/pangolin.git
synced 2026-07-13 01:08:13 +02:00
🚧 wip: block top position of command palette
This commit is contained in:
@@ -88,13 +88,18 @@ export function CommandPalette({ orgId, orgs, navItems }: CommandPaletteProps) {
|
||||
|
||||
return (
|
||||
<CommandDialog
|
||||
open //={open}
|
||||
open //={open} // TODO: flip back to normal
|
||||
onOpenChange={handleOpenChange}
|
||||
title={t("commandPaletteTitle")}
|
||||
description={t("commandPaletteDescription")}
|
||||
className="max-w-2xl **:data-[slot=command-input-wrapper]:h-15"
|
||||
commandProps={{
|
||||
loop: true
|
||||
loop: true,
|
||||
filter(value, search) {
|
||||
if (value.toLowerCase().includes(search.toLowerCase()))
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
}}
|
||||
>
|
||||
<CommandInput
|
||||
|
||||
Reference in New Issue
Block a user