Skip to content
Snippets Groups Projects
Commit 570db866 authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #17671 TIME 0:05 fix css

parent 579ee6fa
No related branches found
No related tags found
No related merge requests found
......@@ -128,6 +128,7 @@
}
},
"cli": {
"analytics": false,
"defaultCollection": "@ionic/angular-toolkit"
},
"schematics": {
......
......@@ -116,7 +116,7 @@
<p [class.unavailableDoc]="element.state === 'DEL'">
{{element.reference}}
</p>
<h2 [class.unavailableDoc]="element.state === 'DEL'" style="margin-top: -10px; margin-bottom: -11px;">{{element.title}} &nbsp;
<h2 [class.unavailableDoc]="element.state === 'DEL'" [ngStyle]="{'margin-top': ['HARD_DEL', 'SOFT_DEL'].indexOf(element.status) > -1 ? '-10px' : '', 'margin-bottom': ['HARD_DEL', 'SOFT_DEL'].indexOf(element.status) > -1 ? '-11px' : '-20px'}">{{element.title}} &nbsp;
<button mat-icon-button class="deleted" [title]="(element.status !== 'HARD_DEL' ? 'lang.softDeleted': 'lang.hardDeleted') | translate">
<ion-icon *ngIf="element?.status === 'SOFT_DEL'" name="remove-circle-outline"></ion-icon>
<ion-icon *ngIf="element?.status === 'HARD_DEL'" name="close-circle-outline"></ion-icon>
......
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