The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 22, 09:30 UTC
fix(web): file preview videos keep their own aspect ratio (#21839)
Co-authored-by: maria-rcks <maria@kuuro.net>
Nikita Maximilian Grimm committed
Nov 1, 2026 at 03:20 UTC
43d445b408fb0f612f17388fdc8cdbd2f2e1f24c
1 file changed
+1
apps/web/src/components/files/FilePreviewPanel.tsx
+1
@@ -322,6 +322,7 @@ function WorkspaceVideoPreview(props: {
322
revision={revision}
323
preload="metadata"
324
className="flex h-full min-h-0 w-full max-w-5xl items-center justify-center"
325
+ videoClassName="aspect-auto max-h-full w-auto max-w-full"
326
onRetry={refreshAssetUrl}
327
actionsSource={{
328
kind: "video",