From 2584e63e129f01c22d0e60d59cc598091afe28ca Mon Sep 17 00:00:00 2001 From: Jonas List Date: Sun, 25 May 2025 00:45:25 +0200 Subject: [PATCH] Replaced '+' with 'Plus' in shortcut display --- content/docs/user-manual/shortcuts.mdx | 4 ++-- src/components/KeyboardShortcut.tsx | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/content/docs/user-manual/shortcuts.mdx b/content/docs/user-manual/shortcuts.mdx index fe140dd..e4f4b85 100644 --- a/content/docs/user-manual/shortcuts.mdx +++ b/content/docs/user-manual/shortcuts.mdx @@ -5,7 +5,7 @@ description: Enhance your Zen experience with customizable keybinds import KeyboardShortcut from '@/components/KeyboardShortcut'; -Zen Browser supported lots of keyboard shortcuts to help you do common tasks quicker. Access `Settings" /> > `Keyboard Shortcuts" /> and edit the available shortcuts to suit your workflow even more! +Zen Browser supported lots of keyboard shortcuts to help you do common tasks quicker. Access `"Settings" > "Keyboard Shortcuts"` and edit the available shortcuts to suit your workflow even more! ### Change or rebind keyboard shortcuts in Zen @@ -132,7 +132,7 @@ The "Toggle Split View" shortcuts currently only applicable when selecting multi | --------------------- | ------------------------------------------------ | | Toggle Mute | | | Zoom Out | | -| Zoom In | | +| Zoom In | | | Reset Zoom Level | | | Switch Text Direction | | | Take Screenshot | | diff --git a/src/components/KeyboardShortcut.tsx b/src/components/KeyboardShortcut.tsx index 4c0cd6c..4e58b26 100644 --- a/src/components/KeyboardShortcut.tsx +++ b/src/components/KeyboardShortcut.tsx @@ -50,7 +50,11 @@ const KeyboardShortcut: React.FC = ({ {keys.map((key, index) => ( - {key.toLowerCase() === "shift" ? "⇧" : key} + {key.toLowerCase() === "shift" + ? "⇧" + : key.toLowerCase() === "plus" + ? "+" + : key} {index < keys.length - 1 && +}