From ef6b93021567c983ac3eafe1a6844a210e03ff0b Mon Sep 17 00:00:00 2001 From: jojohoch <joachim.hoch@iqb.hu-berlin.de> Date: Tue, 13 Jun 2023 10:26:56 +0200 Subject: [PATCH] [player] Fix sticking behavior of marking bar in separate paging mode --- .../components/layouts/pages-layout/pages-layout.component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/player/src/app/components/layouts/pages-layout/pages-layout.component.html b/projects/player/src/app/components/layouts/pages-layout/pages-layout.component.html index 55ff76fb9..4b096aa3d 100644 --- a/projects/player/src/app/components/layouts/pages-layout/pages-layout.component.html +++ b/projects/player/src/app/components/layouts/pages-layout/pages-layout.component.html @@ -72,7 +72,7 @@ [(selectedIndex)]="selectedIndex"> <ng-container *ngFor="let page of scrollPages; let i = index; let last = last"> <mat-tab [label]="'pageIndication' | translate: {index: i + 1}"> - <div [style.min-height]="'calc(' + minHeight.scrollPages + 'vh - ' + ((page.margin * 2) + tabHeaderHeight) + 'px)'" + <div [style.height]="'calc(' + minHeight.scrollPages + 'vh - ' + ((page.margin * 2) + tabHeaderHeight) + 'px)'" [style.background-color]="page.backgroundColor" [style.padding.px]="page.margin" [style.max-width]="page.hasMaxWidth ? page.maxWidth + 'px' : '100%'"> -- GitLab