add activities tab, make replay popup smaller and muted

This commit is contained in:
legop3
2026-06-13 21:53:12 -04:00
parent 61ace6e7c4
commit 619d334758
9 changed files with 155 additions and 134 deletions
@@ -121,11 +121,12 @@ export default function ReplayReadyPopup({ replay, onClose, variant = 'modal' })
autoPlay
preload="auto"
playsInline
muted
{...videoLifecycleProps}
// The floating panel is intentionally compact because it appears for users who
// did not ask for the replay. It still loads the video immediately, but its
// bounded height prevents the floating card from covering too much of the UI.
className="aspect-video max-h-[24rem] w-full bg-black"
className="aspect-video max-h-[14rem] w-full bg-black"
/>
</div>
</CardFrame>
@@ -221,7 +221,7 @@ export default function ReplaySourcesPanel({ panelId = 'replay-sources', fillHei
return (
<div className={`relative ${fillHeight ? 'flex h-full min-h-0 flex-col' : ''}`}>
{showPanelReplay ? (
<div className="absolute bottom-[calc(100%+0.125rem)] left-1/2 z-[70] w-[min(42rem,calc(100vw-1rem))] -translate-x-1/2">
<div className="absolute bottom-[calc(100%+0.125rem)] left-1/2 z-[70] w-[min(20rem,calc(100vw-1rem))] -translate-x-1/2">
<ReplayReadyPopup
replay={latestReplay}
variant="floating-panel"