diff --git a/packages/app/src/components/quick-search/index.tsx b/packages/app/src/components/quick-search/index.tsx index e026552630..660f4cdc5a 100644 --- a/packages/app/src/components/quick-search/index.tsx +++ b/packages/app/src/components/quick-search/index.tsx @@ -22,6 +22,7 @@ const isMac = () => { export const QuickSearch = ({ open, onClose }: TransitionsModalProps) => { const [query, setQuery] = useState(''); const { triggerQuickSearchModal } = useModal(); + // Add ‘⌘+K’ shortcut keys as switches useEffect(() => { const down = (e: KeyboardEvent) => { if (e.key === 'k' && e.metaKey) { @@ -44,22 +45,22 @@ export const QuickSearch = ({ open, onClose }: TransitionsModalProps) => { width={620} height={'auto'} style={{ - maxHeight: '720px', + maxHeight: '67vh', minHeight: '350px', - borderRadius: '20px', top: '138px', }} > - {isMac() ? '⌘+K' : 'Ctrl+K'} + {isMac() ? '⌘ + K' : 'Ctrl + K'} +