Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: menu-layout #3040

Merged
merged 2 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/app/components/AccountMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function AccountMenu({ showOptions = true }: Props) {
openOptions(`accounts/${authAccount?.id}`);
}}
>
<WalletIcon className="h-5 w-5 mr-2 text-gray-700 dark:text-neutral-300" />
<WalletIcon className="h-5 w-5 mr-2 text-gray-700 dark:text-neutral-300 shrink-0" />
{t("options.account.account_settings")}
</Menu.ItemButton>
{(isAlbyLNDHubAccount(
Expand All @@ -140,7 +140,7 @@ function AccountMenu({ showOptions = true }: Props) {
window.open(`https://getalby.com/user`, "_blank");
}}
>
<GlobeIcon className="h-5 w-5 mr-2 text-gray-700 dark:text-neutral-300" />
<GlobeIcon className="h-5 w-5 mr-2 text-gray-700 dark:text-neutral-300 shrink-0" />
{t("options.account.go_to_web_wallet")} →
</Menu.ItemButton>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/Menu/MenuItemButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function MenuItemButton({
className={classNames(
active ? "bg-gray-50 dark:bg-surface-02dp" : "",
disabled ? "cursor-not-allowed" : "cursor-pointer",
"flex items-center w-full p-4 text-sm text-gray-800 dark:text-neutral-200"
"flex items-center w-full p-4 text-sm text-gray-800 dark:text-neutral-200 whitespace-nowrap"
)}
disabled={disabled}
onClick={onClick}
Expand Down
Loading