Skip to content

Commit

Permalink
Always display chevrons in objective links
Browse files Browse the repository at this point in the history
Display chevrons in objective links in the timeline view pane when
multiple objectives are selected as well.
  • Loading branch information
simenheg committed Aug 17, 2023
1 parent 50b5796 commit 26a2370
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/ObjectiveRow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
:class="['objective', { 'objective--compact': compact }]"
@click="isLink ? () => {} : $emit('click', $event)"
>
<h3 class="pkt-txt-18-medium mb-size-8">
<h3 class="objective__title pkt-txt-18-medium mb-size-8">
{{ objective.name }}
<pkt-icon v-if="isLink" class="pkt-link__icon" name="chevron-right" />
</h3>

<p v-if="!compact && objective.description" class="mb-size-8">
Expand Down Expand Up @@ -80,6 +81,12 @@ export default {
color: var(--color-hover);
}
&__title {
display: flex;
gap: 0.25rem;
align-items: center;
}
&__progress {
display: flex;
gap: 0.75rem;
Expand Down

0 comments on commit 26a2370

Please sign in to comment.