Skip to content

Commit

Permalink
feat: add arrowkeys trverse message in account menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Rithvik-padma committed Dec 23, 2023
1 parent 1004c0b commit 721daf3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/components/AccountMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,12 @@ function AccountMenu({ showOptions = true }: Props) {
</div>
</Menu.Button>
<Menu.List position="right" fullWidth>
<Menu.Item>
<span className="sr-only">{tCommon("arrowkeys")}</span>
</Menu.Item>
<Menu.Item>
<div
tabIndex={0}
className={`flex-auto px-4 py-2 overflow-hidden ${
!title && !balancesDecorated ? "w-28" : ""
}`}
Expand Down
1 change: 1 addition & 0 deletions src/i18n/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,7 @@
"or": "or",
"website": "Website",
"apps": "Apps",
"arrowkeys": "Use arrowkeys to traverse items",
"actions": {
"back": "Back",
"delete": "Delete",
Expand Down

0 comments on commit 721daf3

Please sign in to comment.