Skip to content

Commit

Permalink
Add z-index for the menu in article pages
Browse files Browse the repository at this point in the history
  • Loading branch information
kyoheiu committed Oct 8, 2023
1 parent 7c210aa commit 1f7daf8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/article/[id]/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
</svelte:head>
<svelte:window on:scroll={saveScrollPos} />
{#if data.result}
<div class="sticky top-0 mb-3 flex h-8 items-center bg-slate-50">
<div class="z-50 sticky top-0 mb-3 flex h-8 items-center bg-slate-50">
<a href="/"><House size={ICON_SIZE} /></a>
<div class="ml-auto">
<Buttons
Expand All @@ -88,7 +88,7 @@
</div>
</div>
<!-- progress bar -->
<div class="fixed h-1 top-8 left-0 w-screen bg-slate-300">
<div class="z-50 fixed h-1 top-8 left-0 w-screen bg-slate-300">
<div class="fixed h-1 top-8 bg-sky-500" style="width: {progData}%;" />
</div>

Expand Down

0 comments on commit 1f7daf8

Please sign in to comment.