Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

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

Henriette Darge3368eeb4a3a5
diff --git a/frontend/src/app/shared/components/time_entries/shared/modal/base.modal.html b/frontend/src/app/shared/components/time_entries/shared/modal/base.modal.html
index ea024b80789..c93bf3e8c64 100644
--- a/frontend/src/app/shared/components/time_entries/shared/modal/base.modal.html
+++ b/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>