From fe68661c25fe27ecee1086b2becd6919ee12f4af Mon Sep 17 00:00:00 2001 From: anmolsinghbhatia Date: Mon, 1 May 2023 14:19:54 +0530 Subject: [PATCH] style: shortcut modal theming --- apps/app/components/command-palette/shortcuts-modal.tsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/apps/app/components/command-palette/shortcuts-modal.tsx b/apps/app/components/command-palette/shortcuts-modal.tsx index af7f19b0a..205749b83 100644 --- a/apps/app/components/command-palette/shortcuts-modal.tsx +++ b/apps/app/components/command-palette/shortcuts-modal.tsx @@ -123,7 +123,9 @@ export const ShortcutsModal: React.FC = ({ isOpen, setIsOpen }) => {
-

{shortcut.description}

+

+ {shortcut.description} +

{shortcut.keys.split(",").map((key, index) => ( @@ -132,7 +134,7 @@ export const ShortcutsModal: React.FC = ({ isOpen, setIsOpen }) => { ) : ( - + {key === "Ctrl" ? : key} )} @@ -167,7 +169,7 @@ export const ShortcutsModal: React.FC = ({ isOpen, setIsOpen }) => { {keys.split(",").map((key, index) => ( {key === "Ctrl" ? ( - + ) : (