fix: leading none in shell (#9404)
parent
f86c6734a7
commit
9bc8d48415
|
@ -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}`
|
||||||
|
|
Loading…
Reference in New Issue