aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/app
diff options
context:
space:
mode:
authorKevin Silva <kevin.silva@sonarsource.com>2023-07-28 10:42:59 +0200
committersonartech <sonartech@sonarsource.com>2023-07-28 20:03:15 +0000
commit3994545c5d4313228716935ec752c0eb1253a077 (patch)
tree011e6aa0bf1995c1dd338b941311c70858848835 /server/sonar-web/src/main/js/app
parent446b9cdb558599a82ca14c99bdda5ea9f8bdf41b (diff)
downloadsonarqube-3994545c5d4313228716935ec752c0eb1253a077.tar.gz
sonarqube-3994545c5d4313228716935ec752c0eb1253a077.zip
SONAR-19068 - UI glitch when announcement message is set
Diffstat (limited to 'server/sonar-web/src/main/js/app')
-rw-r--r--server/sonar-web/src/main/js/app/components/GlobalContainer.tsx10
1 files changed, 6 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx b/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx
index 2d99e1311e4..f4924fa10b7 100644
--- a/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx
+++ b/server/sonar-web/src/main/js/app/components/GlobalContainer.tsx
@@ -76,10 +76,12 @@ export default function GlobalContainer() {
<IndexationContextProvider>
<LanguagesContextProvider>
<MetricsContextProvider>
- <SystemAnnouncement />
- <IndexationNotification />
- <UpdateNotification dismissable />
- <GlobalNav location={location} />
+ <div className="sw-sticky sw-top-0 sw-z-global-navbar">
+ <SystemAnnouncement />
+ <IndexationNotification />
+ <UpdateNotification dismissable />
+ <GlobalNav location={location} />
+ </div>
<Outlet />
</MetricsContextProvider>
</LanguagesContextProvider>