Skip to content

Commit

Permalink
hot fix. Nav not fixed (#93)
Browse files Browse the repository at this point in the history
Hot fix for #70

Problem: was not position: fixed.

Co-authored-by: Claire Olmstead <[email protected]>
  • Loading branch information
claireolmstead and claireolmstead authored Jan 17, 2024
1 parent 604120f commit 5c83e86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
const logout = () => {};
</script>

<div class="bg-bg-black w-[126px] min-w-[126px] h-screen flex flex-col justify-center items-center">
<div class="bg-bg-black w-[126px] min-w-[126px] h-screen flex flex-col justify-center items-center fixed">
<img alt="iconLogo" src={iconLogo} class="w-[57px] absolute top-7 left-6" />
<div class="flex flex-col w-[100%]">
{#each navItems as navItem}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<img alt="The project logo" src={wave} class="fixed w-[100%] top-0 right-0 z-[-1]" />
<div class="flex">
<Nav />
<div class="m-6 w-[100%]">
<div class="m-6 w-[100%] pl-[126px]">
<Header />
<slot class="z-10" />
</div>
Expand Down

0 comments on commit 5c83e86

Please sign in to comment.