fix(guide) : match navigation minimum height with comments
CI / Verify (push) Successful in 1m43s
CI / Build immutable images and deploy (push) Successful in 3m5s

This commit is contained in:
2026-10-08 04:40:43 +07:00 Unverified
parent 72e9f525cc
commit 0f0e983bcb
+3 -3
View File
@@ -138,13 +138,13 @@ export function StructuredGuideShell({
<ScrollableNav
ariaLabel={`เมนูคู่มือ ${guide.name}`}
activeKey={section ?? "overview"}
className=" w-full rounded-xl border bg-card p-1 sm:p-2"
className="min-h-11 w-full rounded-xl border bg-card p-1 sm:p-2"
>
<Link
href={baseHref}
aria-current={!section ? "page" : undefined}
className={cn(
"flex sm:min-h-8 shrink-0 items-center gap-2 whitespace-nowrap rounded-md px-3 text-sm transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring",
"flex min-h-11 shrink-0 items-center gap-2 whitespace-nowrap rounded-md px-3 text-sm transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring",
!section
? "bg-primary/15 font-semibold text-primary"
: "text-muted-foreground hover:bg-muted hover:text-foreground",
@@ -166,7 +166,7 @@ export function StructuredGuideShell({
href={`${baseHref}/${item.slug}`}
aria-current={section === item.slug ? "page" : undefined}
className={cn(
"flex sm:min-h-8 shrink-0 items-center gap-2 whitespace-nowrap rounded-md px-3 text-sm transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring",
"flex min-h-11 shrink-0 items-center gap-2 whitespace-nowrap rounded-md px-3 text-sm transition-colors outline-none focus-visible:ring-2 focus-visible:ring-ring",
section === item.slug
? "bg-primary/15 font-semibold text-primary"
: "text-muted-foreground hover:bg-muted hover:text-foreground",