fix: adjust user menu button height for avatar content (#77)

Override the fixed h-6.5 from Kumo's sm size with h-auto and py-1 so
the button sizes naturally around the avatar. The sm size is still used
for text size, gap, and border-radius — only the height is overridden,
since this is a usage-specific concern (tall content inside a small
button) rather than a design system issue.

Co-authored-by: Matt Kane <[email protected]>
This commit is contained in:
Sarah DayanandMatt Kane authored and GitHub committed 2026-04-06 21:09:12 +01:00
1 parent fe74f8a33e
commit ec1e71ec2f
1 file changed
+1 -1
+1 -1
View File
@@ -55,7 +55,7 @@ export function Header() {
{/* User menu */}
<Popover open={userMenuOpen} onOpenChange={setUserMenuOpen}>
<Popover.Trigger asChild>
<Button variant="ghost" size="sm" className="gap-2">
<Button variant="ghost" size="sm" className="gap-2 py-1 h-auto">
{user?.avatarUrl ? (
<img src={user.avatarUrl} alt="" className="h-6 w-6 rounded-full object-cover" />
) : (