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
parent
0ef678b2cf
commit
a3c283da5e
|
@ -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}`
|
||||||
|
|
Loading…
Reference in New Issue