@hw-component/form 1.1.5 → 1.1.6

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.
package/es/index.css CHANGED
@@ -38,6 +38,9 @@
38
38
  .ant-hw-form-base-item-top-left .ant-hw-form-label-item {
39
39
  position: relative;
40
40
  }
41
+ .ant-hw-form-base-item-left .ant-form-item-label > label {
42
+ height: 32px;
43
+ }
41
44
  .ant-hw-form-base-item-top-right .ant-form-item-label > label {
42
45
  height: auto;
43
46
  }
package/lib/index.css CHANGED
@@ -38,6 +38,9 @@
38
38
  .ant-hw-form-base-item-top-left .ant-hw-form-label-item {
39
39
  position: relative;
40
40
  }
41
+ .ant-hw-form-base-item-left .ant-form-item-label > label {
42
+ height: 32px;
43
+ }
41
44
  .ant-hw-form-base-item-top-right .ant-form-item-label > label {
42
45
  height: auto;
43
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/form",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "基于antd二次开发",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,6 +26,11 @@
26
26
  position: relative;
27
27
  }
28
28
  }
29
+ .@{ant-prefix}-hw-form-base-item-left {
30
+ .@{ant-prefix}-form-item-label > label {
31
+ height: 32px;
32
+ }
33
+ }
29
34
  .@{ant-prefix}-hw-form-base-item-top-right {
30
35
  .@{ant-prefix}-form-item-label > label {
31
36
  height: auto;
@@ -137,6 +137,7 @@ export default () => {
137
137
  autoClear={false}
138
138
  configData={data}
139
139
  labelWidth={88}
140
+ labelAlign={"left"}
140
141
  dialogForm={modalForm}
141
142
  title="测试"
142
143
  />
@@ -140,7 +140,6 @@ export default () => {
140
140
  configData={formData()}
141
141
  labelWidth={200}
142
142
  form={form}
143
- labelAlign={"left"}
144
143
  onFinish={(value) => {
145
144
  console.log(value);
146
145
  }}
@@ -180,7 +180,7 @@ export default () => {
180
180
  <HModalForm
181
181
  configData={data}
182
182
  labelWidth={88}
183
- labelAlign={"right"}
183
+ labelAlign={"left"}
184
184
  footer={(dialogForm, loading, params = {}) => {
185
185
  const { name } = params;
186
186
  return (