Skip to content

Commit cd38ae7

Browse files
authored
Replaced '+' with 'Plus' in shortcut display (#193)
1 parent d2678d8 commit cd38ae7

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

content/docs/user-manual/shortcuts.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Enhance your Zen experience with customizable keybinds
55

66
import KeyboardShortcut from '@/components/KeyboardShortcut';
77

8-
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!
8+
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!
99

1010
### Change or rebind keyboard shortcuts in Zen
1111

@@ -132,7 +132,7 @@ The "Toggle Split View" shortcuts currently only applicable when selecting multi
132132
| --------------------- | ------------------------------------------------ |
133133
| Toggle Mute | <KeyboardShortcut shortcut="Ctrl + M" /> |
134134
| Zoom Out | <KeyboardShortcut shortcut="Ctrl + -" /> |
135-
| Zoom In | <KeyboardShortcut shortcut="Ctrl + +" /> |
135+
| Zoom In | <KeyboardShortcut shortcut="Ctrl + Plus" /> |
136136
| Reset Zoom Level | <KeyboardShortcut shortcut="Ctrl + 0" /> |
137137
| Switch Text Direction | <KeyboardShortcut shortcut="Shift + Ctrl + X" /> |
138138
| Take Screenshot | <KeyboardShortcut shortcut="Shift + Ctrl + S" /> |

src/components/KeyboardShortcut.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,11 @@ const KeyboardShortcut: React.FC<KeyboardShortcutProps> = ({
5050
{keys.map((key, index) => (
5151
<React.Fragment key={index}>
5252
<kbd className="px-1 py-0.5 text-xs font-semibold text-fd-foreground bg-fd-card border border-fd-border rounded-sm">
53-
{key.toLowerCase() === "shift" ? "⇧" : key}
53+
{key.toLowerCase() === "shift"
54+
? "⇧"
55+
: key.toLowerCase() === "plus"
56+
? "+"
57+
: key}
5458
</kbd>
5559
{index < keys.length - 1 && <span className="mx-1">+</span>}
5660
</React.Fragment>

0 commit comments

Comments
 (0)