-
Notifications
You must be signed in to change notification settings - Fork 303
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Communication: Reduce FAQ size (#9568)
- Loading branch information
Showing
3 changed files
with
3 additions
and
6 deletions.
There are no files selected for viewing
6 changes: 2 additions & 4 deletions
6
src/main/webapp/app/overview/course-faq/course-faq-accordion.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,5 +9,4 @@ | |
.badge-container { | ||
display: flex; | ||
margin-left: auto; | ||
gap: 4px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters