Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
flex: 1;
}

#ws-page-banners {
z-index: var(--pf-t--global--z-index--2xl);
}

/* Search */
#algolia-autocomplete-listbox-0 {
/* Fix search results overflowing page */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,12 @@ export const SideNavLayout = ({ children, groupedRoutes, navOpen: navOpenProp })
return (
<React.Fragment>
<RtlContext.Provider value={isRTL}>
{/* These alert banners need to be one of the first focusable items so users navigating via
keybaord can dismiss them early in their navigation. */}
<div id="ws-page-banners">
<NavAnnouncementBanner />
{hasGdprBanner && <GdprBanner />}
</div>
<Page
id="ws-page"
mainContainerId="ws-page-main"
Expand All @@ -363,10 +369,6 @@ export const SideNavLayout = ({ children, groupedRoutes, navOpen: navOpenProp })
{children}
{process.env.hasFooter && <Footer isDarkTheme={isDarkTheme} />}
</Page>
<div id="ws-page-banners">
<NavAnnouncementBanner />
{hasGdprBanner && <GdprBanner />}
</div>
</RtlContext.Provider>
</React.Fragment>
);
Expand Down
Loading