diff --git a/webui/src/lib/components/layout.tsx b/webui/src/lib/components/layout.tsx index 8bd3db98389..c31d5a38372 100644 --- a/webui/src/lib/components/layout.tsx +++ b/webui/src/lib/components/layout.tsx @@ -15,6 +15,8 @@ const Layout: FC<{logged: boolean}> = ({ logged }) => { return ( <> + {/* Sticky license/banner alert placeholder (conditionally rendered in Enterprise) */} +
diff --git a/webui/src/styles/globals.css b/webui/src/styles/globals.css
index 9952dddbb60..eb7ee821e7d 100644
--- a/webui/src/styles/globals.css
+++ b/webui/src/styles/globals.css
@@ -933,4 +933,25 @@ td.entry-type-indicator {
.geojson-map-container {
height: 100%;
width: 100%;
+}
+
+/* Sticky license/banner alert (Enterprise only, placeholder in OSS) */
+.license-banner-sticky {
+ position: sticky;
+ top: 0;
+ z-index: 1030;
+ width: 100%;
+}
+
+/* Sticky navbar below the banner */
+.navbar-sticky {
+ position: sticky;
+ top: 0;
+ z-index: 1020;
+ width: 100%;
+}
+
+/* If the license banner is visible, push the navbar down */
+.license-banner-sticky:has(+ .navbar-sticky) + .navbar-sticky {
+ top: 48px; /* Adjust to banner height if needed */
}
\ No newline at end of file