From 67a5bfa431e2a15435ca0dec8cea203ff345bf6f Mon Sep 17 00:00:00 2001 From: Krishav Raj Singh Date: Sun, 24 Aug 2025 00:30:32 +0530 Subject: [PATCH] ui: move slideIframe to center --- .../presentation-tools/FullScreenPresentationViewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/components/thread/tool-views/presentation-tools/FullScreenPresentationViewer.tsx b/frontend/src/components/thread/tool-views/presentation-tools/FullScreenPresentationViewer.tsx index 88954d3b..aa202b5f 100644 --- a/frontend/src/components/thread/tool-views/presentation-tools/FullScreenPresentationViewer.tsx +++ b/frontend/src/components/thread/tool-views/presentation-tools/FullScreenPresentationViewer.tsx @@ -289,7 +289,7 @@ export function FullScreenPresentationViewer({ transformOrigin: '0 0', position: 'absolute', top: 0, - left: 0, + left: `calc((100% - ${1920 * scale}px) / 2)`, willChange: 'transform', backfaceVisibility: 'hidden', WebkitBackfaceVisibility: 'hidden'