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 15, 2024
1 parent c6eb69f commit be5b673
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,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 @@ -221,11 +221,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 be5b673

Please sign in to comment.