Skip to content

Commit

Permalink
refactor: center scorm comments if no review button
Browse files Browse the repository at this point in the history
  • Loading branch information
satikaj committed Jul 3, 2024
1 parent 8fe2f9e commit 1b1710f
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
>
Review
</button>
<div class="markdown-to-html flex-grow" [innerHTML]="comment.text"></div>
@if (!user.isStaff && !task.definition.scormAllowReview) {
<div class="markdown-to-html m-auto mb-1 mt-1" [innerHTML]="comment.text"></div>
} @else {
<div class="markdown-to-html flex-grow" [innerHTML]="comment.text"></div>
}
<button
#menuState="matMenuTrigger"
mat-icon-button
Expand Down

0 comments on commit 1b1710f

Please sign in to comment.