Skip to content

Commit

Permalink
Hide non-functional triangle indicator in goal only setting
Browse files Browse the repository at this point in the history
  • Loading branch information
driverag22 authored and davidot committed Oct 31, 2022
1 parent 3d83e7b commit 95e8701
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/editpage/components/response/Goal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@
<div class="hrfake">
<span class="goal-id">({{index + 1}}/{{total}})</span>
</div>
<div :class="{opened: opened, 'opened-tick': true}">▶</div>
<span class="goal-target" v-html="subGoal"></span>
<div v-if="showHypotheses" :class="{opened: opened, 'opened-tick': true}">
</div>
<span :class="{'goal-target': true,
'goal-with-hypotheses': showHypotheses}"
v-html="subGoal">
</span>
</div>
</template>

Expand Down Expand Up @@ -172,9 +177,12 @@ export default {
margin-bottom: -1.3em;
}
.goal-target {
.goal-with-hypotheses {
margin-top: 0.3em;
margin-left: 1em;
}
.goal-target {
margin-top: 0.3em;
}
</style>

0 comments on commit 95e8701

Please sign in to comment.