fix: leading none in shell (#9404)

pull/9409/head
Peer Richelsen 2023-06-07 20:57:10 +01:00 committed by GitHub
parent f86c6734a7
commit 9bc8d48415
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -341,11 +341,11 @@ function UserDropdown({ small }: { small?: boolean }) {
</span> </span>
{!small && ( {!small && (
<span className="flex flex-grow items-center truncate"> <span className="flex flex-grow items-center truncate">
<span className="flex-grow truncate text-sm"> <span className="flex-grow truncate text-sm leading-none">
<span className="text-emphasis mb-1 block truncate pb-1 font-medium leading-none"> <span className="text-emphasis mb-1 block truncate font-medium">
{user.name || "Nameless User"} {user.name || "Nameless User"}
</span> </span>
<span className="text-default truncate pb-1 font-normal leading-none"> <span className="text-default truncate pb-1 font-normal">
{user.username {user.username
? process.env.NEXT_PUBLIC_WEBSITE_URL === "https://cal.com" ? process.env.NEXT_PUBLIC_WEBSITE_URL === "https://cal.com"
? `cal.com/${user.username}` ? `cal.com/${user.username}`