Move button into its own section, so that we assure the contents in the split actions are always on the correct sides

pull/11056/head
Henriette Darge 2 years ago
parent 7a2824675e
commit 3368eeb4a3
  1. 18
      frontend/src/app/shared/components/time_entries/shared/modal/base.modal.html

@ -18,13 +18,15 @@
</div>
<div class="op-modal--footer op-modal--footer_split-actions">
<button class="button -danger"
*ngIf="deleteAllowed"
(click)="destroy()"
[textContent]="text.delete"
[attr.title]="text.delete">
</button>
<section>
<div>
<button class="button -danger"
*ngIf="deleteAllowed"
(click)="destroy()"
[textContent]="text.delete"
[attr.title]="text.delete">
</button>
</div>
<div>
<button class="button"
*ngIf="saveAllowed"
(click)="closeMe($event)"
@ -38,6 +40,6 @@
[textContent]="text.save"
[disabled]="formInFlight">
</button>
</section>
</div>
</div>
</div>

Loading…
Cancel
Save