Add spacing above confirmation modal action buttons
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user