Skip to content

Commit 66ea745

Browse files
authored
fix(core): adjust layout to allow scrolling in pip mode (#211)
1 parent 6312023 commit 66ea745

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/client/webcomponents/components/DockStandalone.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ function switchEntry(id: string | undefined) {
4444
<ViewBuiltinClientAuthNotice :context="context" />
4545
</div>
4646
<div v-else class="h-screen w-screen of-hidden grid cols-[max-content_1fr]">
47-
<div class="border-r border-base flex flex-col">
47+
<div class="border-r border-base flex flex-col min-h-0">
4848
<div class="p2 border-b border-base flex">
4949
<VitePlus class="w-7 h-7 ma" />
5050
</div>
51-
<div class="transition duration-200 p2">
51+
<div class="transition duration-200 p2 of-y-auto">
5252
<DockEntriesWithCategories
5353
:context="context"
5454
:groups="groupedEntries"
@@ -62,7 +62,7 @@ function switchEntry(id: string | undefined) {
6262
</DockEntriesWithCategories>
6363
</div>
6464
</div>
65-
<div>
65+
<div class="min-h-0">
6666
<div id="vite-devtools-views-container" ref="viewsContainer" class="pointer-events-auto" />
6767
<ViewEntry
6868
v-if="context.docks.selected && viewsContainer"

0 commit comments

Comments
 (0)