Skip to content

Commit

Permalink
Communication: Reduce FAQ size (#9568)
Browse files Browse the repository at this point in the history
  • Loading branch information
cremertim authored Oct 24, 2024
1 parent 6f5081a commit 58c4277
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
<div>
<div class="faq-container">
<h2 class="markdown-preview">{{ faq().questionTitle }}</h2>
<h5 class="markdown-preview mb-0">{{ faq().questionTitle }}</h5>

<div class="badge-container">
@for (category of faq().categories; track category) {
<jhi-custom-exercise-category-badge [category]="category" class="mt-2 ms-1" />
}
</div>
</div>
<div class="faq-container mb-0">
<h4 class="markdown-preview" [innerHTML]="faq().questionAnswer | htmlForMarkdown"></h4>
</div>
<div [innerHTML]="faq().questionAnswer | htmlForMarkdown"></div>
<hr class="mt-0" />
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@
.badge-container {
display: flex;
margin-left: auto;
gap: 4px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
}
</div>
</div>
<hr class="" />
<hr class="mb-1 mt-1" />
@if (faqs?.length === 0) {
<h2 class="markdown-preview" jhiTranslate="artemisApp.faq.noExisting"></h2>
}
Expand Down

0 comments on commit 58c4277

Please sign in to comment.