From 4f439e227446bac1b86f9c2a3f23fef141866372 Mon Sep 17 00:00:00 2001
From: Guillaume Heurtier <guillaume.heurtier@maarch.org>
Date: Wed, 4 Mar 2020 10:23:09 +0100
Subject: [PATCH] FEAT #13374 TIME 0:30 fix edit attachment with onlyoffice
 height

---
 .../attachments-page/attachment-page.component.html           | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/frontend/app/attachments/attachments-page/attachment-page.component.html b/src/frontend/app/attachments/attachments-page/attachment-page.component.html
index 44d4a7b29e5..00220374a7d 100644
--- a/src/frontend/app/attachments/attachments-page/attachment-page.component.html
+++ b/src/frontend/app/attachments/attachments-page/attachment-page.component.html
@@ -168,7 +168,7 @@
                         </mat-expansion-panel>
                     </div>
                 </ng-container>
-                <mat-tab-group [selectedIndex]="1" class="pjList" *ngIf="!loading" animationDuration="0">
+                <mat-tab-group [selectedIndex]="1" class="pjList" *ngIf="!loading" animationDuration="0" style="height: 100%">
                         <mat-tab label="Document principal" *ngIf="attachment.res_id_master !== null">
                             <ng-template matTabContent>
                                 <app-document-viewer #appDocumentViewer style="height:100%;width:100%;" [editMode]="false"
@@ -221,4 +221,4 @@
             (click)="deleteSignedVersion()">{{lang.deleteSignedVersion}}</button>
         <button mat-raised-button mat-button [disabled]="loading" [mat-dialog-close]="">{{lang.close}}</button>
     </div>
-</div>
\ No newline at end of file
+</div>
-- 
GitLab