Skip to content

Commit 193186c

Browse files
authored
feat: make modules counting as floating panel (#37)
1 parent 2276d59 commit 193186c

File tree

1 file changed

+5
-3
lines changed
  • packages/devtools/src/app/pages/session/[session]/graph

1 file changed

+5
-3
lines changed

packages/devtools/src/app/pages/session/[session]/graph/index.vue

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,13 +195,15 @@ function toggleDisplay(type: ClientSettings['flowModuleGraphView']) {
195195
<!-- {{ allNodeModules }} -->
196196
</div>
197197
<template v-if="settings.flowModuleGraphView === 'list'">
198-
<div of-auto max-h-screen pt-45 relative>
198+
<div of-auto h-screen pt-45>
199199
<ModulesFlatList
200200
:session="session"
201201
:modules="searched"
202202
/>
203-
<div text-center text-xs op50 m4>
204-
{{ searched.length }} of {{ session.modulesList.length }}
203+
<div
204+
absolute bottom-4 py-1 px-2 bg-glass left="1/2" translate-x="-1/2" border="~ base rounded-full" text="center xs"
205+
>
206+
<span op50>{{ searched.length }} of {{ session.modulesList.length }}</span>
205207
</div>
206208
</div>
207209
</template>

0 commit comments

Comments
 (0)