Skip to content

Commit 79171ed

Browse files
committed
styling/Ensure topbar is always on top
1 parent 837ec6e commit 79171ed

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/assets/stylesheets/_header.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
position: -webkit-sticky; /* Safari */
1313
position: fixed;
1414
top: 0;
15-
z-index: 3;
15+
z-index: 7;
1616
margin-bottom: $topbar-margin;
1717
}
1818

app/views/snippets/_snippet_preview.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232

3333
<div class="relative">
3434
<% if snippet.has_preview? %>
35-
<div title="View the entire snippet" class="transition text-gray-500 hover:underline absolute border rounded-md bottom-2 right-2 z-3 bg-white text-sm px-2 py-1">
35+
<div title="View the entire snippet" class="transition text-gray-500 hover:underline absolute border rounded-md bottom-2 right-2 z-10 bg-white text-sm px-2 py-1">
3636
<span>More...</span>
3737
</div>
3838
<% end %>

0 commit comments

Comments
 (0)