v0.10.33: 产品表单区收口 602→561.3 vs 564(submit auto 宽/margin 0,post-2741 无宽度规则 vs contact-us 自有 .ele-new-form4-dif 规则)+ docs 更新

This commit is contained in:
bigcode
2026-11-04 00:07:53 +08:00
parent 4a52261af0
commit 2e2615dc03
3 changed files with 16 additions and 3 deletions
+5
View File
@@ -162,4 +162,9 @@ const PRODUCT_FORM_CSS = `
[data-el="9de544c"] .wpcf7-form > p:has(> input[type="hidden"]) { display: contents; }
[data-el="9de544c"] .wpcf7-form > p:nth-of-type(-n+4) { grid-column: span 24; }
[data-el="9de544c"] .wpcf7-form > p:nth-of-type(n+5):nth-of-type(-n+7) { grid-column: span 16; }
/* 提交按钮:原站 post-2741.css 无宽度规则 → auto 左对齐(90.5px 实测);
* /contact-us/ 的 width:100% 来自其页面自身 .ele-new-form4-dif 规则,产品页不适用。
* 覆盖 Renderer 基础样式的 :where(input[type=submit]) width:100%(全宽会把 spinner 挤到
* 第二行,提交行 85 vs 44) */
[data-el="9de544c"] .wpcf7-form input[type="submit"] { width: auto; margin: 0; }
`;