diff --git a/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx b/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx index 50b0e305098..acf392350cd 100644 --- a/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx +++ b/apps/web/core/components/power-k/ui/modal/shortcuts-root.tsx @@ -8,6 +8,7 @@ import { useState, Fragment } from "react"; import { Dialog, Transition } from "@headlessui/react"; // plane imports import { CloseIcon, SearchIcon } from "@plane/propel/icons"; +import { ScrollArea } from "@plane/propel/scrollarea"; import { Input } from "@plane/ui"; // hooks import { usePowerK } from "@/hooks/store/use-power-k"; @@ -61,28 +62,33 @@ export function ShortcutsModal(props: Props) { leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95" > -
- +
+ Keyboard shortcuts -
- - setQuery(e.target.value)} - placeholder="Search for shortcuts" - className="w-full border-none bg-transparent py-1 text-11 text-secondary outline-none" - autoFocus - tabIndex={1} - /> +
+
+ + setQuery(e.target.value)} + placeholder="Search for shortcuts" + className="w-full border-none bg-transparent py-1 text-11 text-secondary outline-none" + autoFocus + tabIndex={1} + /> +
- + + + +
diff --git a/apps/web/core/components/power-k/ui/renderer/shortcut.tsx b/apps/web/core/components/power-k/ui/renderer/shortcut.tsx index c2a9f04cf6d..9f4d5098430 100644 --- a/apps/web/core/components/power-k/ui/renderer/shortcut.tsx +++ b/apps/web/core/components/power-k/ui/renderer/shortcut.tsx @@ -78,7 +78,7 @@ export function ShortcutRenderer(props: Props) { const isShortcutsEmpty = groupedCommands.length === 0; return ( -
+
{!isShortcutsEmpty ? ( groupedCommands.map((group) => (