Skip to content
Snippets Groups Projects
Verified Commit d50befe4 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

fix css viewDoc

parent dc099d5a
No related branches found
No related tags found
No related merge requests found
......@@ -3,5 +3,4 @@
<mat-icon class="fa fa-times-circle fa-2x"></mat-icon>
</button>
</h1>
<div mat-dialog-content [innerHTML]="innerHtml">
</div>
\ No newline at end of file
<div [innerHTML]="innerHtml"></div>
\ No newline at end of file
.mat-dialog-content {
margin: 0;
padding: 0;
height: 98%;
max-height: 98%;
overflow: inherit;
}
button {
float: right;
top: -5px;
......
......@@ -21,7 +21,7 @@ export class ViewDocActionComponent implements OnInit {
ngOnInit(): void {
this.docUrl = '../../rest/res/' + this.data.selectedRes[0] + '/content';
this.innerHtml = this.sanitizer.bypassSecurityTrustHtml(
"<iframe style='position: absolute;width: 100%;height: 100%;border: none;' src='" + this.docUrl + "' class='embed-responsive-item'>" +
"<iframe style='position: absolute;width: 100%;height: 100%;border: none;left: 0px;top: 0px;padding-top: 40px;' src='" + this.docUrl + "' class='embed-responsive-item'>" +
"</iframe>");
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment