fix(svg): make SVG autofix sub-checkbox always visible inside SVG card without initial display:none

This commit is contained in:
nertyog 2026-08-13 19:35:14 +03:00
parent ea4cba3194
commit c0ea9a5a1e
2 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@
<?php echo $entry_support_svg; ?>
</label>
<div style="font-size: 12px; color: #666; margin-top: 8px; line-height: 1.4;"><?php echo $help_support_svg; ?></div>
<div id="svg-autofix-box" style="<?php if (empty($module_img_opti_support_svg)) { ?>display: none;<?php } ?> margin-top: 10px; padding-top: 8px; border-top: 1px dashed #ddd;">
<div id="svg-autofix-box" style="margin-top: 10px; padding-top: 8px; border-top: 1px dashed #ddd;">
<label style="font-size: 12px; font-weight: normal; color: #444;">
<input type="checkbox" name="module_img_opti_support_svg_autofix" value="1" <?php if (isset($module_img_opti_support_svg_autofix) && $module_img_opti_support_svg_autofix) { ?>checked="checked"<?php } ?>>
<b><?php echo $entry_support_svg_autofix; ?></b>