Updated the CSS classes for the user name and profile (#8571)

Co-authored-by: sean-brydon <55134778+sean-brydon@users.noreply.github.com>
Co-authored-by: Keith Williams <keithwillcode@gmail.com>
pull/8597/head^2
uday 2023-05-03 00:20:01 +03:00 committed by GitHub
parent 0ef678b2cf
commit a3c283da5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -308,10 +308,10 @@ function UserDropdown({ small }: { small?: boolean }) {
{!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">
<span className="text-emphasis mb-1 block truncate font-medium leading-none"> <span className="text-emphasis mb-1 pb-1 block truncate font-medium leading-none">
{user.name || "Nameless User"} {user.name || "Nameless User"}
</span> </span>
<span className="text-default block truncate font-normal leading-none"> <span className="text-default pb-1 truncate font-normal leading-none">
{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}`