Skip to content

Commit 4e8b0bb

Browse files
committedJun 28, 2024
fix(applet): handle state viewer overflow scroll case
1 parent f0e071c commit 4e8b0bb

File tree

1 file changed

+1
-1
lines changed
  • packages/applet/src/modules/pinia/components/store

1 file changed

+1
-1
lines changed
 

‎packages/applet/src/modules/pinia/components/store/Index.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ onUnmounted(() => {
205205
</div>
206206
</div>
207207
</div>
208-
<RootStateViewer v-if="selected && !emptyState" class="p3" :data="state" :node-id="selected" :inspector-id="inspectorId" expanded-state-id="pinia-store-state" />
208+
<RootStateViewer v-if="selected && !emptyState" class="no-scrollbar flex-1 select-none overflow-scroll" :data="state" :node-id="selected" :inspector-id="inspectorId" expanded-state-id="pinia-store-state" />
209209
<Empty v-else>
210210
No Data
211211
</Empty>

0 commit comments

Comments
 (0)