Skip to content

Commit

Permalink
Fix rendering of measurement descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
simenheg committed Sep 20, 2023
1 parent 66a2fdb commit 6174745
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/components/KpiDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@
{{ $t('kpi.newValue') }}
</pkt-button>
</div>
<HTML-output
v-if="kpi.description"
class="pkt-txt-14-light"
:html="kpi.description"
/>
</header>

<HTML-output
v-if="kpi.description"
class="kpi-details__description pkt-txt-14-light"
:html="kpi.description"
/>

<widget-kpi-progress-graph :kpi="kpi" :progress="progress" :goals="goals" />

<widget-kpi-progress-stats :kpi="kpi" :progress="progress" :goals="goals" />
Expand Down Expand Up @@ -186,4 +187,8 @@ export default {
}
}
}
.kpi-details__description {
margin-bottom: 1.5rem;
}
</style>

0 comments on commit 6174745

Please sign in to comment.