fix(builder): center preview in RTL interfaces (#3446)

This commit is contained in:
Amruth Pillai
2026-09-05 10:09:02 -07:00
committed by GitHub
parent 1d4194a207
commit 9fdcec2eca
2 changed files with 79 additions and 1 deletions
@@ -32,7 +32,8 @@ export function PreviewPage() {
wheel={{ step: 0.001 }}
onPanningStart={blurFocusedElementOnPan}
>
<TransformComponent wrapperClass="h-full! w-full!">
{/* Zoom transforms use left-origin coordinates, regardless of the interface language. */}
<TransformComponent wrapperClass="h-full! w-full!" wrapperProps={{ dir: "ltr" }}>
<ResumePreview showPageNumbers pageLayout={pageLayout} />
</TransformComponent>