render icons on forms

This commit is contained in:
daria 2025-08-22 17:23:09 +03:00
parent 6ea0df8cf6
commit 5b2f4eaa37
No known key found for this signature in database
GPG Key ID: 3B75240E6B2F2701
2 changed files with 3 additions and 2 deletions

View File

@ -903,7 +903,7 @@
border-right: 0px;
}
button {
i { margin: 0 !important; }
svg { margin: 0 !important; }
}
}

View File

@ -123,7 +123,7 @@ define([
Icons.get('preview'),
Messages.form_preview_button
]);
$(cancelBlock).click(function () { cb(undefined, true); });
$(cancelBlock).click(function () { cb(undefined, true); Lucide.createIcons(); });
return cancelBlock;
};
@ -4259,6 +4259,7 @@ define([
$(edit).hide();
$(copy).hide();
Lucide.createIcons();
};
$(edit).click(function () {
onEdit();