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: shrink-0 user menu icons #3114

Merged
merged 2 commits into from
Mar 27, 2024
Merged
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
12 changes: 6 additions & 6 deletions src/app/components/UserMenu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ export default function UserMenu() {
openOptions("wallet");
}}
>
<PopiconsExpandLine className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200" />
<PopiconsExpandLine className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200 shrink-0" />
{tCommon("full_screen")}
</Menu.ItemButton>
<Menu.ItemButton
onClick={() => {
openOptions("publishers");
}}
>
<ConnectedSiteIcon className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200" />
<ConnectedSiteIcon className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200 shrink-0" />
{tCommon("connected_sites")}
</Menu.ItemButton>
</div>
Expand All @@ -69,15 +69,15 @@ export default function UserMenu() {
openOptions("settings");
}}
>
<PopiconsCogLine className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200" />
<PopiconsCogLine className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200 shrink-0" />
{tCommon("settings")}
</Menu.ItemButton>
<Menu.ItemButton
onClick={() => {
utils.openUrl("https://feedback.getalby.com");
}}
>
<PopiconsCommentLine className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200" />
<PopiconsCommentLine className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200 shrink-0" />
{tCommon("feedback")}
</Menu.ItemButton>

Expand All @@ -88,12 +88,12 @@ export default function UserMenu() {
);
}}
>
<PopiconsBulbLine className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200" />
<PopiconsBulbLine className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200 shrink-0" />
{tCommon("help")}
</Menu.ItemButton>

<Menu.ItemButton onClick={lock}>
<PopiconsLockLine className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200" />
<PopiconsLockLine className="h-5 w-5 mr-2 text-gray-800 dark:text-neutral-200 shrink-0" />
{tCommon("actions.lock")}
</Menu.ItemButton>
</Menu.List>
Expand Down
Loading