fix(cms): align setting label and switch in the shared horizontal row
DC CMS qualification / qualify (push) Successful in 1m29s

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 21:36:59 +03:00
parent be8ebe43e7
commit d86be605a8
5 changed files with 5 additions and 4 deletions
+1
View File
@@ -4391,6 +4391,7 @@ function renderBooleanField({ block, editableField, grid }) {
if (editableField.layout === "row") {
const row = document.querySelector("#ds-settingRow").content.firstElementChild.cloneNode(true);
row.classList.add("wide");
row.querySelector(".nodedc-settings-card__body").remove();
row.querySelector("h2").textContent = editableField.title || editableField.label || editableField.path;
row.querySelector('[data-slot="control"]').replaceWith(label);
grid.append(row);