Fix the docs banner (#60709)

This commit is contained in:
Maedah Batool 2024-02-22 13:46:47 -08:00 committed by GitHub
parent 0206c715d0
commit 4a82843ad9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -1536,6 +1536,7 @@ pre.chroma.sgquery button {
#content > .breadcrumbs {
display:flex;
margin-top:2rem;
}
}

View File

@ -53,7 +53,7 @@
<!-- Default to light theme if no JavaScript -->
<body class="theme-light">
<nav class="notice" style="display: flex; flex-direction: row; width: 100%; position: absolute; z-index: 9999; background: #ec624d; padding: 0.5rem; text-align: center; margin: 0 auto .5rem; color: black;">
<nav class="notice" style="display: flex; flex-direction: row; width: 100%; position: fixed; z-index: 9999; background: #ec624d; padding: 0.5rem; text-align: center; margin: 0 auto .5rem; color: black;">
<p style="text-align: center; display: flex; margin: 0 auto; align-items: center;">⚠️ You're viewing our old docs, which we no longer maintain. For all the new updates, read our <a style="background: black; padding: 0.2rem 0.6rem; border-radius: 5px; margin-left: 0.5rem; color: white;" href="https://sourcegraph.com/docs/">Latest Docs »</a></p>
</nav>
<script>