fix(web): align the sidebar wordmark by baseline (#9578)
Co-authored-by: maria-rcks <[email protected]>
This commit is contained in:
1 parent
0cb02abf5b
commit
bf40fa786c
1 file changed
+11
-9
@@ -86,19 +86,21 @@ function SidebarBrand({ onBackdrop }: { onBackdrop: boolean }) {
|
||||
<Link
|
||||
aria-label="Go to threads"
|
||||
className={cn(
|
||||
"relative z-10 ml-[var(--workspace-titlebar-content-left)] hidden h-7 w-fit min-w-0 shrink-0 items-center gap-1 overflow-hidden rounded-md outline-hidden ring-ring focus-visible:ring-2 md:flex",
|
||||
"relative z-10 ml-[var(--workspace-titlebar-content-left)] hidden h-7 w-fit min-w-0 shrink-0 items-center overflow-hidden rounded-md outline-hidden ring-ring focus-visible:ring-2 md:flex",
|
||||
onBackdrop ? "text-white" : "text-foreground",
|
||||
)}
|
||||
to="/"
|
||||
>
|
||||
<T3Wordmark aria-label="T3" className="h-2.5 w-auto shrink-0" />
|
||||
<span
|
||||
className={cn(
|
||||
"truncate text-sm font-medium tracking-tight",
|
||||
onBackdrop ? "text-white/70" : "text-muted-foreground",
|
||||
)}
|
||||
>
|
||||
Code
|
||||
<span className="inline-flex min-w-0 items-baseline gap-1">
|
||||
<T3Wordmark aria-label="T3" className="h-2.5 w-auto shrink-0" />
|
||||
<span
|
||||
className={cn(
|
||||
"truncate text-sm font-medium tracking-tight",
|
||||
onBackdrop ? "text-white/70" : "text-muted-foreground",
|
||||
)}
|
||||
>
|
||||
Code
|
||||
</span>
|
||||
</span>
|
||||
</Link>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user