mirror of
https://github.com/open-webui/open-webui.git
synced 2026-08-28 05:27:35 +00:00
fix(ui): fix keyboard shortcuts modal Enter key emoji and menu capitalization (#26173)
- Append Unicode text variation selector U+FE0E to the ↩ character in ShortcutItem.svelte to prevent iOS/iPadOS rendering it as a colorful emoji instead of a plain text glyph. - Fix 'Keyboard shortcuts' → 'Keyboard Shortcuts' (capital S) in the user menu to match the modal title and standard title case.
This commit is contained in:
parent
1f6336fd98
commit
0502494e9a
2 changed files with 2 additions and 2 deletions
|
|
@ -46,7 +46,7 @@
|
|||
case 'escape':
|
||||
return 'Esc';
|
||||
case 'enter':
|
||||
return isMac ? '↩' : 'Enter';
|
||||
return isMac ? '↩\uFE0E' : 'Enter';
|
||||
case 'tab':
|
||||
return isMac ? '⇥' : 'Tab';
|
||||
case 'arrowup':
|
||||
|
|
|
|||
|
|
@ -613,7 +613,7 @@
|
|||
<div class=" self-center mr-3">
|
||||
<Keyboard className="size-5" />
|
||||
</div>
|
||||
<div class=" self-center truncate">{$i18n.t('Keyboard shortcuts')}</div>
|
||||
<div class=" self-center truncate">{$i18n.t('Keyboard Shortcuts')}</div>
|
||||
</button>
|
||||
{/if}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue