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

Co-authored-by: sean-brydon <[email protected]>
Co-authored-by: Keith Williams <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-05-02 18:20:01 -03:00
1 parent 0ef678b2cf
commit a3c283da5e
1 file changed
+2 -2
+2 -2
View File
@@ -308,10 +308,10 @@ function UserDropdown({ small }: { small?: boolean }) {
{!small && (
<span className="flex flex-grow items-center truncate">
<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"}
</span>
<span className="text-default block truncate font-normal leading-none">
<span className="text-default pb-1 truncate font-normal leading-none">
{user.username
? process.env.NEXT_PUBLIC_WEBSITE_URL === "https://cal.com"
? `cal.com/${user.username}`