diff --git a/landingPages/annotation/annotation.component.ts b/landingPages/annotation/annotation.component.ts index 5b9685d0..5fb6ac90 100644 --- a/landingPages/annotation/annotation.component.ts +++ b/landingPages/annotation/annotation.component.ts @@ -22,7 +22,7 @@ import {EnvProperties} from "../../utils/properties/env-properties"; + [value]="pid"> { + this.annotationService.getAllAnnotations(this.properties, this.pid).subscribe(annotations => { this.annotations = annotations; }); } @@ -120,4 +120,4 @@ export class AnnotationComponent implements OnInit, OnDestroy { } this.visible = !this.visible; } -} \ No newline at end of file +} diff --git a/landingPages/annotation/annotation.css b/landingPages/annotation/annotation.css index 2f551ca3..732f31bd 100644 --- a/landingPages/annotation/annotation.css +++ b/landingPages/annotation/annotation.css @@ -1,8 +1,8 @@ .widget-container { - position: absolute; + position: fixed; left: 50%; top: 50%; - z-index: 10001; + z-index: 5; padding: 19px; margin-left: -167px; margin-top: -311px; @@ -38,4 +38,4 @@ width: 100%; height: 600px; border: 1px solid #dddddd; -} \ No newline at end of file +}