Skip to content

Commit

Permalink
fix: sidebar scrolls to top after navigate (#530)
Browse files Browse the repository at this point in the history
* fix: sidebar scrolls to top after navigate

* fix: sidebar scrolls to top after navigate
  • Loading branch information
giacomo-folli committed Dec 15, 2023
1 parent 19a6d16 commit 508ed69
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/tutorial/[slug]/Sidebar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@

<Menu {index} current={exercise} />

<section>
<section bind:this={sidebar}>
<div
bind:this={sidebar}
class="text"
on:copy={(e) => {
if (sessionStorage[copy_enabled]) return;
Expand Down

1 comment on commit 508ed69

@vercel
Copy link

@vercel vercel bot commented on 508ed69 Dec 15, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.