mirror of
https://github.com/zen-browser/docs.git
synced 2025-07-07 17:05:34 +02:00
Replaced '+' with 'Plus' in shortcut display (#193)
This commit is contained in:
parent
d2678d8211
commit
cd38ae7a51
2 changed files with 7 additions and 3 deletions
|
@ -50,7 +50,11 @@ const KeyboardShortcut: React.FC<KeyboardShortcutProps> = ({
|
|||
{keys.map((key, index) => (
|
||||
<React.Fragment key={index}>
|
||||
<kbd className="px-1 py-0.5 text-xs font-semibold text-fd-foreground bg-fd-card border border-fd-border rounded-sm">
|
||||
{key.toLowerCase() === "shift" ? "⇧" : key}
|
||||
{key.toLowerCase() === "shift"
|
||||
? "⇧"
|
||||
: key.toLowerCase() === "plus"
|
||||
? "+"
|
||||
: key}
|
||||
</kbd>
|
||||
{index < keys.length - 1 && <span className="mx-1">+</span>}
|
||||
</React.Fragment>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue