Change position of cancel + info icons

pull/8230/head
Oliver Günther 5 years ago
parent 8d69993def
commit c877886f26
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 12
      frontend/src/app/components/wp-card-view/wp-single-card/wp-single-card.component.html

@ -6,6 +6,12 @@
</div>
<div class="wp-card--inline-buttons hidden-for-mobile">
<a class="wp-card--details-button -no-decoration"
*ngIf="!workPackage.isNew && showInfoButton"
[title]="text.detailsView"
(accessibleClick)="openSplitScreen(workPackage)">
<op-icon icon-classes="icon icon-info2"></op-icon>
</a>
<a class="wp-card--inline-cancel-button -no-decoration"
*ngIf="workPackage.isNew || showRemoveButton"
[ngClass]="{ '-show': workPackage.isNew }"
@ -13,12 +19,6 @@
(accessibleClick)="onRemoved(workPackage)">
<op-icon icon-classes="icon icon-close"></op-icon>
</a>
<a class="wp-card--details-button -no-decoration"
*ngIf="!workPackage.isNew && showInfoButton"
[title]="text.detailsView"
(accessibleClick)="openSplitScreen(workPackage)">
<op-icon icon-classes="icon icon-info2"></op-icon>
</a>
</div>
<edit-form [resource]="workPackage"
[inEditMode]="workPackage.isNew"

Loading…
Cancel
Save