Skip to content

Commit

Permalink
fix(ui): fix layout for user name and login
Browse files Browse the repository at this point in the history
Signed-off-by: Roman Dmytrenko <rdmytrenko@gmail.com>
  • Loading branch information
erka committed Nov 30, 2024
1 parent f69f4d3 commit c848188
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/src/components/header/UserProfile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ export default function UserProfile(props: UserProfileProps) {
<DropdownMenuContent align="end">
{(user.name || user.login) && (
<>
<DropdownMenuItem disabled key="userinfo">
<DropdownMenuItem
disabled
key="userinfo"
className="flex flex-col items-start gap-0"
>
{user.name}
{user.login && <span className="text-xs">{user.login}</span>}
</DropdownMenuItem>
Expand Down

0 comments on commit c848188

Please sign in to comment.