diff --git a/app/client/src/pages/AppViewer/AppViewerPageContainer.tsx b/app/client/src/pages/AppViewer/AppViewerPageContainer.tsx index 3d80df63ed..8c7618e0ca 100644 --- a/app/client/src/pages/AppViewer/AppViewerPageContainer.tsx +++ b/app/client/src/pages/AppViewer/AppViewerPageContainer.tsx @@ -20,11 +20,9 @@ import { } from "../Applications/permissionHelpers"; import { builderURL } from "RouteBuilder"; -const Section = styled.section<{ - height: number; -}>` +const Section = styled.section` height: 100%; - min-height: ${({ height }) => height}px; + width: 100%; margin: 0 auto; position: relative; overflow-x: auto; @@ -91,7 +89,7 @@ function AppViewerPageContainer(props: AppViewerPageContainerProps) { if (!(widgets.children && widgets.children.length > 0)) return pageNotFound; return ( -
+