mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:11:48 +00:00
Fix the docs banner (#60709)
This commit is contained in:
parent
0206c715d0
commit
4a82843ad9
@ -1536,6 +1536,7 @@ pre.chroma.sgquery button {
|
||||
|
||||
#content > .breadcrumbs {
|
||||
display:flex;
|
||||
margin-top:2rem;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -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>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user