Skip to content

Commit

Permalink
feat: 💄 increase padding for user menu and always show username
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan6erbond committed May 10, 2023
1 parent de996b5 commit 44ee2db
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -265,17 +265,11 @@ function Header({ signUpEnabled }: HeaderProps) {
borderRadius: theme.radius.md,
},
})}
pr="sm"
py={2}
p={8}
>
<Group>
<UserAvatar user={user as Record | null} />
<MediaQuery
smallerThan="md"
styles={{ display: "none" }}
>
<Text>{user.username}</Text>
</MediaQuery>
<Text>{user.username}</Text>
<IconCaretDown />
</Group>
</UnstyledButton>
Expand Down

0 comments on commit 44ee2db

Please sign in to comment.