исправил чекбоксы оборудования в аудиторном фонде

This commit is contained in:
2026-06-02 00:29:23 +03:00
parent a966648a7e
commit 4e1985c28e
2 changed files with 12 additions and 1 deletions

View File

@@ -2380,6 +2380,16 @@ input[type="number"] {
transition: background 0.2s ease;
}
.form-group .checkbox-group-vertical .checkbox-item {
display: flex;
align-items: center;
margin-bottom: 0;
color: var(--text-primary);
font-size: 0.9rem;
text-transform: none;
letter-spacing: 0;
}
.checkbox-item:hover {
background: var(--bg-hover);
}

View File

@@ -21,8 +21,9 @@ function renderEquipmentCheckboxes(equipments, containerId, selectTextId, select
}
container.innerHTML = equipments.map(eq => `
<label class="checkbox-container">
<label class="checkbox-item">
<input type="checkbox" value="${eq.id}" ${selectedIds.includes(eq.id) ? 'checked' : ''}>
<span class="checkmark"></span>
<span>${escapeHtml(eq.name)}</span>
</label>
`).join('');