Skip to content

YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context

fix(meeting-notes): lock replay-strip caption height

Louis Beaumont3bcf795b7d20
diff --git a/apps/screenpipe-app-tauri/components/meeting-notes/replay-strip.tsx b/apps/screenpipe-app-tauri/components/meeting-notes/replay-strip.tsx
index 9d3c9bfe3..28abc4743 100644
--- a/apps/screenpipe-app-tauri/components/meeting-notes/replay-strip.tsx
+++ b/apps/screenpipe-app-tauri/components/meeting-notes/replay-strip.tsx
@@ -315,12 +315,16 @@ export function ReplayStrip({ segments, timeRange }: ReplayStripProps) {
)}
</div>
- {/* Caption: closest transcript chunk + clickable speaker label */}
- <div className="px-3 py-2 border-b border-border min-h-[44px] flex items-start gap-3">
+ {/* Caption: closest transcript chunk + clickable speaker label.
+ Fixed height — transcript chunks vary wildly in length (a few
+ words to a paragraph), and a min-height made the whole replay
+ block jump as the user scrubs. Locked at 3 lines with line-clamp;
+ the underlying chunk is still navigable via the rest of the UI. */}
+ <div className="px-3 py-2 border-b border-border h-[96px] flex items-start gap-3 overflow-hidden">
<span className="text-[11px] text-muted-foreground tabular-nums w-14 shrink-0 mt-0.5">
{formatClock(new Date(cursorMs).toISOString())}
</span>
- <div className="flex-1 min-w-0">
+ <div className="flex-1 min-w-0 overflow-hidden">
{showSpeakerPopover ? (
<SpeakerAssignPopover
key={`speaker-${activeChunk!.audioChunkId}`}
@@ -347,11 +351,11 @@ export function ReplayStrip({ segments, timeRange }: ReplayStripProps) {
</span>
)
)}
- <span className="text-sm text-foreground/90">
+ <span className="text-sm text-foreground/90 line-clamp-3">
{chunksLoading
? "loading transcript…"
: activeChunk
- ? activeChunk.transcription.replace(/\s+/g, " ").trim().slice(0, 280)
+ ? activeChunk.transcription.replace(/\s+/g, " ").trim()
: "no transcript at this moment"}
</span>
</div>