fix: Add cyber-checkbox styling to SecuBox settings checkboxes (v0.6.0-r13)
- Add cyber-checkbox class to all checkbox inputs after form render - Ensures checkboxes are visible and properly styled - Fixes invisible checkboxes for Enable SecuBox, Debug Mode, etc. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
9ce67f2da5
commit
e203a8d8c2
@ -434,6 +434,16 @@ return view.extend({
|
|||||||
var formWrapper = E('div', { 'class': 'secubox-settings-form' }, formElement);
|
var formWrapper = E('div', { 'class': 'secubox-settings-form' }, formElement);
|
||||||
container.appendChild(formWrapper);
|
container.appendChild(formWrapper);
|
||||||
this.bindStatusChip(formElement, statusChip);
|
this.bindStatusChip(formElement, statusChip);
|
||||||
|
|
||||||
|
// Add cyber-checkbox class to all checkboxes for proper styling
|
||||||
|
var checkboxes = formWrapper.querySelectorAll('input[type="checkbox"]');
|
||||||
|
checkboxes.forEach(function(checkbox) {
|
||||||
|
var wrapper = checkbox.parentNode;
|
||||||
|
if (wrapper && wrapper.classList) {
|
||||||
|
wrapper.classList.add('cyber-checkbox');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
return container;
|
return container;
|
||||||
}, this));
|
}, this));
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user