fix: ui fixes in transcript nav

This commit is contained in:
gosangam
2026-06-17 13:48:59 +05:30
parent f5abe33c09
commit 89f94c1a6e
2 changed files with 11 additions and 2 deletions
@@ -344,9 +344,18 @@ function Caption({
<div className="text-sm text-foreground leading-relaxed">
<p
ref={pRef}
onClick={
showToggle
? (e) => {
e.stopPropagation();
onToggle();
}
: undefined
}
className={cn(
"font-[family-name:var(--font-title)] break-words",
!expanded && "line-clamp-3",
showToggle && "cursor-pointer",
)}
>
“{text}”