Skip to content

Commit

Permalink
Merge pull request #844 from IATI/minor-visual
Browse files Browse the repository at this point in the history
Add styles to Report page feedback items
  • Loading branch information
tillywoodfield authored Jan 7, 2025
2 parents f0a6de8 + a500e51 commit 30d5dcb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/report/FeedbackItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<AppAlert class="mt-2" :variant="props.item.severity">
<div>
<span class="float-right">
{{ props.item.id }}
<span class="font-bold">{{ props.item.id }}</span>
<a v-if="isGuidanceAvailable" :href="guidanceLink" title="Open guidance in a new window">(see guidance)</a>
<a v-if="codelistLink" :href="codelistLink" title="Open guidance in a new window">(see guidance)</a>
</span>
Expand All @@ -43,7 +43,7 @@
v-if="props.item.context.length > 1 || (props.item.context.length && props.item.context[0].text !== '')"
class="list-disc pl-10"
>
<li v-for="(context, index) of props.item.context" :key="index">
<li v-for="(context, index) of props.item.context" :key="index" class="iati-code bg-white pl-2">
<span v-if="containsQuotedTrailingWhitespace(context.text)">
{{ context.text }}
<p class="text-error">An empty space was added to the attribute</p>
Expand Down

0 comments on commit 30d5dcb

Please sign in to comment.