8000 fix: sidebar scroll · nuxt/devtools@946f930 · GitHub
[go: up one dir, main page]

Skip to content

Commit 946f930

Browse files
committed
fix: sidebar scroll
1 parent c50d6d1 commit 946f930

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"vue-tsc": "^2.0.17"
5757
},
5858
"simple-git-hooks": {
59-
"pre-commit": "pnpm lint-staged"
59+
"pre-commit": "npx lint-staged"
6060
},
6161
"lint-staged": {
6262
"*": "eslint --fix"

packages/devtools/client/components/SideNav.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,9 @@ onClickOutside(
9797
</div>
9898

9999
<div
100-
flex="~ auto col gap-0.5 items-center" w-full p1 class="no-scrollbar"
101-
:class="sidebarExpanded ? '' : 'of-x-hidden of-y-auto'"
100+
flex="~ auto col gap-0.5 items-center" w-full p1
101+
class="no-scrollbar"
102+
:class="{ 4965 'of-x-hidden of-y-auto': !!sidebarExpanded }"
102103
>
103104
<template v-for="[name, tabs], idx of displayedTabs" :key="name">
104105
<template v-if="tabs.length">

0 commit comments

Comments
 (0)
0