Skip to content

Commit c0f2c80

Browse files
authored
feat: control module flow panel size (#52)
1 parent 6385436 commit c0f2c80

4 files changed

Lines changed: 474 additions & 387 deletions

File tree

packages/devtools/src/app/components/code/DiffEditor.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ function _onUpdate(size: number) {
132132
</script>
133133

134134
<template>
135-
<div h-full w-full max-h-100vh :class="oneColumn ? 'flex' : 'grid grid-cols-2'">
136-
<div v-show="!oneColumn" ref="fromEl" h-full max-h-100vh />
137-
<div ref="toEl" h-full max-h-100vh :class="oneColumn ? 'w-full' : ''" />
135+
<div h-full w-full of-auto :class="oneColumn ? 'flex' : 'grid grid-cols-2'" style="overscroll-behavior: contain">
136+
<div v-show="!oneColumn" ref="fromEl" h-inherit />
137+
<div ref="toEl" h-inherit :class="oneColumn ? 'w-full' : ''" />
138138
</div>
139139
</template>
140140

0 commit comments

Comments
 (0)