Add spacing above confirmation modal action buttons

This commit is contained in:
2026-02-08 16:07:21 +01:00
parent d9466d9194
commit 6a5f1c5890
2 changed files with 4 additions and 1 deletions

View File

@@ -68,6 +68,9 @@
overflow: auto;
max-height: 70vh;
}
.edit-modal .edit-body .confirm-actions {
margin-top: 12px;
}
.edit-modal .delete-body {
display: flex;
flex-direction: column;

View File

@@ -49,7 +49,7 @@ export function openConfirmModal({
`;
const close = () => overlay.remove();
const actions = document.createElement("div");
actions.className = "stack horizontal";
actions.className = "stack horizontal confirm-actions";
const confirmBtn = document.createElement("button");
if (confirmClass) confirmBtn.className = confirmClass;
confirmBtn.textContent = confirmLabel ?? t("modal.confirm");