fix: ui fixes in transcript nav
This commit is contained in:
@@ -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}”
|
||||
|
||||
Reference in New Issue
Block a user