From e6f8736caef4efe12c02430fa4f52d3c50c9ecd5 Mon Sep 17 00:00:00 2001
From: Ali <83188384+testA113@users.noreply.github.com>
Date: Tue, 24 Mar 2026 13:24:43 +1300
Subject: [PATCH] fix(policies): fix page styles for firefox banner [C9S-63]
(#2128)
---
app/assets/css/app.css | 21 +++++++++++++++----
.../azure/DashboardView/DashboardView.tsx | 2 +-
app/react/components/buttons/MenuButton.tsx | 2 +-
.../docker/DashboardView/DashboardView.tsx | 4 +---
.../kubernetes/dashboard/DashboardView.tsx | 2 +-
5 files changed, 21 insertions(+), 10 deletions(-)
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() {
<>