Merge claude/1
This commit is contained in:
commit
4fc462a9e4
@ -344,9 +344,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Thin horizontal rule that separates the config form's sections — one sits
|
/* Thin horizontal rule that separates the config form's sections — one sits
|
||||||
above the Save/Reset buttons, and one at the top of #advanced-sections so a
|
above the advanced/danger-zone container, one above the Save/Reset buttons,
|
||||||
line appears between the "Show Advanced Options" toggle and the advanced
|
and one at the top of #advanced-sections so a line appears between the "Show
|
||||||
fields only when they're revealed. */
|
Advanced Options" toggle and the advanced fields only when they're revealed. */
|
||||||
.config-divider {
|
.config-divider {
|
||||||
height: 0;
|
height: 0;
|
||||||
border: none;
|
border: none;
|
||||||
|
|||||||
@ -44,6 +44,10 @@ class ConfigUtils {
|
|||||||
async renderSectionedContent(formHTML, advancedSubcategories, unusedSubcategories, self, category, configData) {
|
async renderSectionedContent(formHTML, advancedSubcategories, unusedSubcategories, self, category, configData) {
|
||||||
// Add danger zone toggle controls if needed
|
// Add danger zone toggle controls if needed
|
||||||
if (advancedSubcategories.length > 0 || unusedSubcategories.length > 0) {
|
if (advancedSubcategories.length > 0 || unusedSubcategories.length > 0) {
|
||||||
|
// Divider above the advanced/danger-zone container, mirroring the one
|
||||||
|
// above the Save/Reset buttons — separates the regular fields from the
|
||||||
|
// "Show Advanced Options" toggle.
|
||||||
|
formHTML += '<div class="config-divider"></div>';
|
||||||
formHTML += this.generateToggleControls(advancedSubcategories.length > 0, unusedSubcategories.length > 0);
|
formHTML += this.generateToggleControls(advancedSubcategories.length > 0, unusedSubcategories.length > 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user