diff --git a/packages/frontend/core/src/modules/peek-view/view/modal-container.css.ts b/packages/frontend/core/src/modules/peek-view/view/modal-container.css.ts index a334fcf810..6ca69e8c1f 100644 --- a/packages/frontend/core/src/modules/peek-view/view/modal-container.css.ts +++ b/packages/frontend/core/src/modules/peek-view/view/modal-container.css.ts @@ -97,6 +97,7 @@ export const modalContentContainer = style({ alignItems: 'flex-start', width: '90%', height: '90%', + maxWidth: 1248, }); export const modalContent = style({ diff --git a/packages/frontend/core/src/modules/peek-view/view/modal-container.tsx b/packages/frontend/core/src/modules/peek-view/view/modal-container.tsx index 80c7c6974a..e41d4198d6 100644 --- a/packages/frontend/core/src/modules/peek-view/view/modal-container.tsx +++ b/packages/frontend/core/src/modules/peek-view/view/modal-container.tsx @@ -72,7 +72,7 @@ export const PeekViewModalContainer = ({ onAnimateEnd?: () => void; }>) => { const [{ status }, toggle] = useTransition({ - timeout: animationTimeout * 2, + timeout: animationTimeout * 1.5, onStateChange(event) { if (event.current.status === 'exited' && onAnimateEnd) { onAnimateEnd();