diff --git a/app/assets/css/app.css b/app/assets/css/app.css index 93c176dbe..6cd3da30c 100644 --- a/app/assets/css/app.css +++ b/app/assets/css/app.css @@ -38,16 +38,29 @@ body { html, body, -#page-wrapper, -#content-wrapper, -.page-content, -#view { +#page-wrapper { height: 100%; width: 100%; overflow-y: initial; } +#content-wrapper { + display: flex; + flex-direction: column; + min-height: 100%; + width: 100%; + overflow-y: initial; +} + +.page-content { + display: flex; + flex-direction: column; + flex: 1 0 auto; + overflow-y: initial; +} + #view { + flex: 1 0 auto; position: relative; } diff --git a/app/react/azure/DashboardView/DashboardView.tsx b/app/react/azure/DashboardView/DashboardView.tsx index 05ebc0a57..181e94616 100644 --- a/app/react/azure/DashboardView/DashboardView.tsx +++ b/app/react/azure/DashboardView/DashboardView.tsx @@ -29,7 +29,7 @@ export function DashboardView() { <> -
+
{subscriptionsQuery.data && ( -
+
@@ -116,8 +116,6 @@ export function DashboardView() { )}
- -
); diff --git a/app/react/kubernetes/dashboard/DashboardView.tsx b/app/react/kubernetes/dashboard/DashboardView.tsx index 50a157839..5b38950c7 100644 --- a/app/react/kubernetes/dashboard/DashboardView.tsx +++ b/app/react/kubernetes/dashboard/DashboardView.tsx @@ -49,7 +49,7 @@ export function DashboardView() { queryClient.invalidateQueries(['environments', environmentId]) } /> -
+