Add spacing above confirmation modal action buttons
This commit is contained in:
@@ -68,6 +68,9 @@
|
|||||||
overflow: auto;
|
overflow: auto;
|
||||||
max-height: 70vh;
|
max-height: 70vh;
|
||||||
}
|
}
|
||||||
|
.edit-modal .edit-body .confirm-actions {
|
||||||
|
margin-top: 12px;
|
||||||
|
}
|
||||||
.edit-modal .delete-body {
|
.edit-modal .delete-body {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|||||||
@@ -49,7 +49,7 @@ export function openConfirmModal({
|
|||||||
`;
|
`;
|
||||||
const close = () => overlay.remove();
|
const close = () => overlay.remove();
|
||||||
const actions = document.createElement("div");
|
const actions = document.createElement("div");
|
||||||
actions.className = "stack horizontal";
|
actions.className = "stack horizontal confirm-actions";
|
||||||
const confirmBtn = document.createElement("button");
|
const confirmBtn = document.createElement("button");
|
||||||
if (confirmClass) confirmBtn.className = confirmClass;
|
if (confirmClass) confirmBtn.className = confirmClass;
|
||||||
confirmBtn.textContent = confirmLabel ?? t("modal.confirm");
|
confirmBtn.textContent = confirmLabel ?? t("modal.confirm");
|
||||||
|
|||||||
Reference in New Issue
Block a user