Skip to content

Commit

Permalink
General: Fix more button in the course menu (#9583)
Browse files Browse the repository at this point in the history
  • Loading branch information
raffifasaro authored Nov 2, 2024
1 parent 2dba3ce commit 0fd71ac
Show file tree
Hide file tree
Showing 2 changed files with 199 additions and 202 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
<div class="d-flex justify-content-between horizontal-scroll">
@if (course) {
<div [ngClass]="{ 'sidebar-collapsed': isCollapsed }" *ngIf="!isLti">
<jhi-sidebar
[itemSelected]="exerciseSelected"
[courseId]="courseId"
[sidebarData]="sidebarData"
[collapseState]="DEFAULT_COLLAPSE_STATE"
[sidebarItemAlwaysShow]="DEFAULT_SHOW_ALWAYS"
[showFilter]="true"
/>
</div>
@if (!isLti) {
<div [ngClass]="{ 'sidebar-collapsed': isCollapsed }">
<jhi-sidebar
[itemSelected]="exerciseSelected"
[courseId]="courseId"
[sidebarData]="sidebarData"
[collapseState]="DEFAULT_COLLAPSE_STATE"
[sidebarItemAlwaysShow]="DEFAULT_SHOW_ALWAYS"
[showFilter]="true"
/>
</div>
}

@if (exerciseSelected) {
<div class="vw-100 module-bg rounded-3" [ngStyle]="isLti ? { height: '90vh', position: 'relative' } : {}">
Expand Down
Loading

0 comments on commit 0fd71ac

Please sign in to comment.