diff --git a/ui/src/components/SidebarAccountMenu.test.tsx b/ui/src/components/SidebarAccountMenu.test.tsx
index 897065b6034..fada5185d75 100644
--- a/ui/src/components/SidebarAccountMenu.test.tsx
+++ b/ui/src/components/SidebarAccountMenu.test.tsx
@@ -448,7 +448,7 @@ describe("SidebarAccountMenu", () => {
expect(document.body.querySelector('[data-slot="popover-content"]')?.className)
.toContain("rounded-xl");
expect(document.body.querySelector('[data-slot="popover-content"]')?.className)
- .toContain("min-h-(--profile-popover-min-height)");
+ .not.toContain("min-h-");
expect(document.body.querySelector('a[href="/company/settings"]')?.className)
.not.toContain("bg-muted");
expect(document.body.textContent).not.toContain("Manage company and instance settings.");
diff --git a/ui/src/components/SidebarAccountMenu.tsx b/ui/src/components/SidebarAccountMenu.tsx
index b6aab851f4c..fbf7a297819 100644
--- a/ui/src/components/SidebarAccountMenu.tsx
+++ b/ui/src/components/SidebarAccountMenu.tsx
@@ -199,7 +199,7 @@ export function SidebarAccountMenu({
side="top"
align="start"
sideOffset={10}
- className="min-h-(--profile-popover-min-height) w-(--profile-popover-width) max-w-(--sz-calc-24) overflow-hidden rounded-xl border-border bg-popover p-0 shadow-(--shadow-profile-popover)"
+ className="w-(--profile-popover-width) max-w-(--sz-calc-24) overflow-hidden rounded-xl border-border bg-popover p-0 shadow-(--shadow-profile-popover)"
>
{/* The profile link is a stretched overlay so the staging SHA anchor can sit beside the email without nesting anchors. */}
@@ -235,7 +235,7 @@ export function SidebarAccountMenu({
-
+