Skip to content

Commit

Permalink
decrease step header size in InvocationGraph to "sm"
Browse files Browse the repository at this point in the history
add gap between step header buttons
  • Loading branch information
ahmedhamidawan committed Aug 1, 2024
1 parent 09a2ed3 commit 3f9c0bb
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ function scrollStepToView() {
<BCardHeader
class="d-flex justify-content-between align-items-center"
:class="activeNodeId ? steps[activeNodeId]?.headerClass : ''">
<Heading inline size="md" class="w-100 mr-2">
<Heading inline size="sm" class="w-100 mr-2">
<WorkflowInvocationStepHeader
v-if="activeNodeId !== null"
class="w-100"
Expand All @@ -220,11 +220,15 @@ function scrollStepToView() {
:invocation-step="props.invocation.steps[activeNodeId]" />
<span v-else>No Step Selected</span>
</Heading>
<div class="d-flex">
<BButton v-if="activeNodeId !== null" title="Scroll to Step" @click="scrollStepToView()">
<div class="d-flex flex-gapx-1">
<BButton
v-if="activeNodeId !== null"
title="Scroll to Step"
size="sm"
@click="scrollStepToView()">
<FontAwesomeIcon :icon="faArrowDown" />
</BButton>
<BButton v-if="activeNodeId !== null" title="Hide Step" @click="activeNodeId = null">
<BButton v-if="activeNodeId !== null" title="Hide Step" size="sm" @click="activeNodeId = null">
<FontAwesomeIcon :icon="faTimes" />
</BButton>
</div>
Expand Down

0 comments on commit 3f9c0bb

Please sign in to comment.