fix(web): line up the titlebar wordmark label and version pill (#9255)

Co-authored-by: Claude Fable 5.1 <[email protected]>
This commit is contained in:
Tristan ManchesterandClaude Fable 5.1 authored and GitHub committed 2026-09-02 23:11:44 -04:00
1 parent 66419a1d1b
commit 12f1fc427e
2 files changed
+4 -2

No files matched your search

@@ -94,7 +94,7 @@ function SidebarBrand({ onBackdrop }: { onBackdrop: boolean }) {
<T3Wordmark aria-label="T3" className="h-2.5 w-auto shrink-0" />
<span
className={cn(
"-translate-y-px truncate text-sm font-medium tracking-tight",
"truncate text-sm font-medium tracking-tight",
onBackdrop ? "text-white/70" : "text-muted-foreground",
)}
>
+3 -1
View File
@@ -20,7 +20,9 @@ const badgeVariants = cva(
default:
"h-5.5 min-w-5.5 px-[calc(--spacing(1)-1px)] text-sm sm:h-4.5 sm:min-w-4.5 sm:text-xs",
lg: "h-6.5 min-w-6.5 px-[calc(--spacing(1.5)-1px)] text-base sm:h-5.5 sm:min-w-5.5 sm:text-sm",
sm: "h-5 min-w-5 rounded-[.25rem] px-[calc(--spacing(1)-1px)] text-xs sm:h-4 sm:min-w-4 sm:text-[.625rem]",
// leading-none: with the inherited fractional leading the rounded font metrics
// leave the label sitting high in the fixed-height box, worse under renderer zoom.
sm: "h-5 min-w-5 rounded-[.25rem] px-[calc(--spacing(1)-1px)] text-xs leading-none sm:h-4 sm:min-w-4 sm:text-[.625rem]",
},
variant: {
default: "bg-primary text-primary-foreground [button&,a&]:hover:bg-primary/90",