Skip to content
Snippets Groups Projects
Commit f238d926 authored by Guillaume Heurtier's avatar Guillaume Heurtier
Browse files

FEAT #12091 TIME 0:20 remove hide tabs when editing attachment with only office

parent 2b06eda9
No related branches found
No related tags found
No related merge requests found
......@@ -168,7 +168,7 @@
</mat-expansion-panel>
</div>
</ng-container>
<mat-tab-group [selectedIndex]="1" [class.header-less-tabs]="!isEditing()" [class.pjList]="isEditing()" *ngIf="!loading" animationDuration="0" style="height: 100%">
<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="display:block;height:100%;width:100%;overflow: auto;" [editMode]="false"
......
......@@ -133,9 +133,3 @@
font-size: 14px;
color: #666;
}
.header-less-tabs {
::ng-deep.mat-tab-header {
display: none;
}
}
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