Skip to content

Commit 95fae40

Browse files
committed
DOC-4 make bar sticky, adjust text
1 parent 32f6339 commit 95fae40

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/_layouts/default.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@
6464
<body>
6565
{% if jekyll.environment == "testing" %}
6666
<!-- This section displays on Netlify only -->
67-
<div style="height:30px; background-color:#fbfb81; width:100%; border-bottom: 1px solid #888">
67+
<div style="height:30px; background-color:#fbfb81; width:100%; border-bottom: 1px solid #888; position: sticky; top:0; z-index: 1000;">
6868
<div class="stage">
69-
<p>This site is meant for preview only. Please do not share outside of Segment. Search results link directly to production.<span id="ghtext"> This page previews pull request <strong><a id="ghlink" href=""></a></strong></span></p>
69+
<p>This site is meant for preview only. Please do not share outside of Segment.<span id="ghtext"> This page previews pull request <strong><a id="ghlink" href="" target="_blank"></a></strong></span></p>
7070
</div>
7171
<script>
7272
const page = window.location.hostname;

0 commit comments

Comments
 (0)