Skip to content

Commit e650c35

Browse files
fix invocation graph scroll overlay not appearing
1 parent 1f7d837 commit e650c35

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

client/src/components/Workflow/Invocation/Graph/InvocationGraph.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ function stepClicked(nodeId: number | null) {
204204
@mouseover="showSideOverlay = true"
205205
@mouseleave="showSideOverlay = false">
206206
<BCard no-body>
207-
<div v-if="activeNodeId !== null && showSideOverlay" class="overlay overlay-left" />
207+
<div
208+
v-if="activeNodeId !== null && showSideOverlay"
209+
class="graph-scroll-overlay overlay-left" />
208210
<WorkflowGraph
209211
ref="workflowGraph"
210212
class="invocation-graph"
@@ -218,7 +220,9 @@ function stepClicked(nodeId: number | null) {
218220
is-invocation
219221
readonly
220222
@stepClicked="stepClicked" />
221-
<div v-if="activeNodeId !== null && showSideOverlay" class="overlay overlay-right" />
223+
<div
224+
v-if="activeNodeId !== null && showSideOverlay"
225+
class="graph-scroll-overlay overlay-right" />
222226
</BCard>
223227
</div>
224228
</div>
@@ -289,11 +293,13 @@ function stepClicked(nodeId: number | null) {
289293
}
290294
}
291295
292-
.overlay {
296+
.graph-scroll-overlay {
293297
bottom: 0;
294298
width: 1.5rem;
295299
background: $gray-200;
296300
opacity: 0.5;
301+
position: absolute;
302+
height: 100%;
297303
&.overlay-left {
298304
z-index: 1;
299305
}

0 commit comments

Comments
 (0)