Skip to content

Commit c517e42

Browse files
authored
fix: unset overflow when nav is closed (#616)
1 parent 875d172 commit c517e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/site-kit/src/lib/nav/Nav.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Top navigation bar for the application. It provides a slot for the left side, th
4949
}
5050
5151
$effect(() => {
52-
document.body.style.overflow = open ? 'hidden' : 'scroll';
52+
document.body.style.overflow = open ? 'hidden' : '';
5353
});
5454
</script>
5555

0 commit comments

Comments
 (0)