diff --git a/apps/admin-x-design-system/src/global/modal/PreviewModal.tsx b/apps/admin-x-design-system/src/global/modal/PreviewModal.tsx index 565080a339..db18e87ba4 100644 --- a/apps/admin-x-design-system/src/global/modal/PreviewModal.tsx +++ b/apps/admin-x-design-system/src/global/modal/PreviewModal.tsx @@ -205,7 +205,7 @@ export const PreviewModalContent: React.FC = ({ } const containerClasses = clsx( - 'min-w-100 absolute inset-y-0 left-0 right-[400px] flex grow flex-col overflow-y-auto', + 'min-w-100 absolute inset-y-0 left-0 right-[400px] flex w-full grow flex-col overflow-y-auto', previewBgClass ); @@ -275,7 +275,7 @@ export const PreviewModalContent: React.FC = ({ hideXOnMobile >
-
+ {sidebar && diff --git a/apps/admin-x-settings/src/components/settings/membership/portal/PortalFrame.tsx b/apps/admin-x-settings/src/components/settings/membership/portal/PortalFrame.tsx index 1882f01c21..41973343e3 100644 --- a/apps/admin-x-settings/src/components/settings/membership/portal/PortalFrame.tsx +++ b/apps/admin-x-settings/src/components/settings/membership/portal/PortalFrame.tsx @@ -56,6 +56,9 @@ const PortalFrame: React.FC = ({href, onDestroyed, selectedTab if (portalParent === 'preview') { loaderClassNames = 'absolute z-50 mt-[-7%] flex h-screen items-center justify-center'; loaderVisibility = 'invisible'; + } else if (portalParent === 'offers') { + loaderClassNames = 'absolute z-50 flex w-full h-full items-center justify-center'; + loaderVisibility = 'invisible'; } return (