@tmagic/form 1.8.0-manmanyu.15 → 1.8.0-manmanyu.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -440,6 +440,10 @@ fieldset.m-fieldset .m-form-tip {
440
440
  margin-right: 8px;
441
441
  }
442
442
 
443
+ .m-form.m-form--magic-admin [class="m-form-container m-container-fieldset"],
444
+ .m-form.m-form--magic-admin [class="m-container-fieldset m-form-container"] {
445
+ margin-top: 15px;
446
+ }
443
447
  .m-form.m-form--magic-admin .m-container-tab:not(.magic-right-panel-tabs-top):not(.magic-form-dynamic-tab) > .tmagic-design-tabs:not(.el-tabs--border-card) > .el-tabs__content {
444
448
  background-color: #fff;
445
449
  padding: 16px 16px 0 16px;
@@ -458,6 +462,9 @@ fieldset.m-fieldset .m-form-tip {
458
462
  white-space: pre-line;
459
463
  line-height: 20px;
460
464
  }
465
+ .m-form.m-form--magic-admin .el-form-item__content .tmagic-design-radio-group {
466
+ row-gap: 10px;
467
+ }
461
468
  .m-form.m-form--magic-admin .el-form-item__content .tmagic-design-radio-group .tmagic-design-radio-button {
462
469
  margin-right: 8px;
463
470
  height: 32px;
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.8.0-manmanyu.15",
2
+ "version": "1.8.0-manmanyu.17",
3
3
  "name": "@tmagic/form",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -52,9 +52,9 @@
52
52
  "peerDependencies": {
53
53
  "vue": "^3.5.38",
54
54
  "typescript": "^6.0.3",
55
- "@tmagic/utils": "1.8.0-manmanyu.15",
56
- "@tmagic/form-schema": "1.8.0-manmanyu.15",
57
- "@tmagic/design": "1.8.0-manmanyu.15"
55
+ "@tmagic/design": "1.8.0-manmanyu.17",
56
+ "@tmagic/form-schema": "1.8.0-manmanyu.17",
57
+ "@tmagic/utils": "1.8.0-manmanyu.17"
58
58
  },
59
59
  "peerDependenciesMeta": {
60
60
  "typescript": {
@@ -3,6 +3,15 @@
3
3
  @use "../../index.scss";
4
4
 
5
5
  .m-form.m-form--magic-admin {
6
+ // 精确匹配"只挂 `m-form-container` + `m-container-fieldset` 这两个 class"的元素:
7
+ // `.a.b` 只能保证"包含"这两个 class,多余的 class 也会命中;
8
+ // 用 `[class="..."]` 做全量字符串等值匹配即可排除第三个 class 的情况。
9
+ // 由于 Vue/框架不保证 class 拼接顺序,两种顺序都列出以覆盖到位。
10
+ [class="m-form-container m-container-fieldset"],
11
+ [class="m-container-fieldset m-form-container"] {
12
+ margin-top: 15px;
13
+ }
14
+
6
15
  .m-container-tab:not(.magic-right-panel-tabs-top):not(
7
16
  .magic-form-dynamic-tab
8
17
  ) {
@@ -38,6 +47,7 @@
38
47
  }
39
48
  .el-form-item__content {
40
49
  .tmagic-design-radio-group {
50
+ row-gap: 10px;
41
51
  .tmagic-design-radio-button {
42
52
  margin-right: 8px;
43
53
  height: 32px;