We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a981ce3 commit 0c9c2f4Copy full SHA for 0c9c2f4
1 file changed
src/features/dashboard/sidebar/command.tsx
@@ -38,8 +38,7 @@ export default function DashboardSidebarCommand({
38
useKeydown((event) => {
39
if (event.key === 'k' && (event.metaKey || event.ctrlKey)) {
40
event.preventDefault()
41
- event.stopPropagation()
42
- setOpen(true)
+ setOpen((prev) => !prev)
43
}
44
45
return true
@@ -72,7 +71,7 @@ export default function DashboardSidebarCommand({
72
71
</SidebarMenuItem>
73
<CommandDialog open={open} onOpenChange={setOpen}>
74
<CommandInput placeholder="Quick Jump to..." />
75
- <CommandList className="p-1 pb-3">
+ <CommandList className="scroll-py-3 px-1 py-3">
76
<CommandEmpty>No results found.</CommandEmpty>
77
<CommandGroup heading="Pages">
78
{SIDEBAR_ALL_LINKS.map((link) => (
0 commit comments