Skip to content

Commit 3af7c1b

Browse files
committed
fix: update link styles in AuthenticatedUserMenu for consistent block display
1 parent 58b4ee8 commit 3af7c1b

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

src/components/Navbar/AuthenticatedUserMenu.tsx

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,17 @@ const AuthenticatedUserMenu = () => {
4040
<DropdownMenuContent>
4141
<DropdownMenuItem asChild>
4242
<Link
43-
className="text-foreground cursor-pointer"
43+
className="text-foreground cursor-pointer block"
4444
href={`/@${authSession?.user?.username}`}
4545
>
4646
{_t("My profile")}
4747
</Link>
4848
</DropdownMenuItem>
4949
<DropdownMenuItem asChild>
50-
<Link className="text-foreground cursor-pointer" href="/dashboard">
50+
<Link
51+
className="text-foreground cursor-pointer block"
52+
href="/dashboard"
53+
>
5154
{_t("Dashboard")}
5255
</Link>
5356
</DropdownMenuItem>
@@ -61,13 +64,16 @@ const AuthenticatedUserMenu = () => {
6164
</DropdownMenuItem>
6265
<DropdownMenuItem>
6366
<Link
64-
className="text-foreground cursor-pointer"
67+
className="text-foreground cursor-pointer block"
6568
href="/dashboard/settings"
6669
>
6770
{_t("Settings")}
6871
</Link>
6972
</DropdownMenuItem>
70-
<DropdownMenuItem className="cursor-pointer" onClick={handleLogout}>
73+
<DropdownMenuItem
74+
className="cursor-pointer block"
75+
onClick={handleLogout}
76+
>
7177
{_t("Logout")}
7278
</DropdownMenuItem>
7379
</DropdownMenuContent>

0 commit comments

Comments
 (0)