@hw-component/form 1.1.3 → 1.1.5
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 +4 -6
- package/lib/index.css +4 -6
- package/package.json +1 -1
- package/src/components/Form/index.less +5 -5
- package/src/pages/ModalForm/index.tsx +1 -0
package/es/index.css
CHANGED
|
@@ -32,12 +32,11 @@
|
|
|
32
32
|
}
|
|
33
33
|
.ant-hw-form-base-item-top-left .ant-hw-form-item-required {
|
|
34
34
|
position: absolute;
|
|
35
|
-
left:
|
|
35
|
+
left: -10px;
|
|
36
36
|
top: 0px;
|
|
37
37
|
}
|
|
38
38
|
.ant-hw-form-base-item-top-left .ant-hw-form-label-item {
|
|
39
39
|
position: relative;
|
|
40
|
-
padding-left: 10px;
|
|
41
40
|
}
|
|
42
41
|
.ant-hw-form-base-item-top-right .ant-form-item-label > label {
|
|
43
42
|
height: auto;
|
|
@@ -56,12 +55,11 @@
|
|
|
56
55
|
}
|
|
57
56
|
.ant-hw-form-base-item-left .ant-hw-form-item-required {
|
|
58
57
|
position: absolute;
|
|
59
|
-
left:
|
|
58
|
+
left: -10px;
|
|
60
59
|
top: 0px;
|
|
61
60
|
}
|
|
62
61
|
.ant-hw-form-base-item-left .ant-hw-form-label-item {
|
|
63
62
|
position: relative;
|
|
64
|
-
padding-left: 10px;
|
|
65
63
|
}
|
|
66
64
|
.ant-hw-form-item-no-required {
|
|
67
65
|
display: none;
|
|
@@ -76,8 +74,8 @@
|
|
|
76
74
|
content: "*";
|
|
77
75
|
margin-right: 4px;
|
|
78
76
|
}
|
|
79
|
-
.ant-hw-form-form-item {
|
|
80
|
-
|
|
77
|
+
.ant-hw-form-form-item .ant-form-item-label {
|
|
78
|
+
overflow: visible;
|
|
81
79
|
}
|
|
82
80
|
.ant-hw-color-box {
|
|
83
81
|
width: 22px;
|
package/lib/index.css
CHANGED
|
@@ -32,12 +32,11 @@
|
|
|
32
32
|
}
|
|
33
33
|
.ant-hw-form-base-item-top-left .ant-hw-form-item-required {
|
|
34
34
|
position: absolute;
|
|
35
|
-
left:
|
|
35
|
+
left: -10px;
|
|
36
36
|
top: 0px;
|
|
37
37
|
}
|
|
38
38
|
.ant-hw-form-base-item-top-left .ant-hw-form-label-item {
|
|
39
39
|
position: relative;
|
|
40
|
-
padding-left: 10px;
|
|
41
40
|
}
|
|
42
41
|
.ant-hw-form-base-item-top-right .ant-form-item-label > label {
|
|
43
42
|
height: auto;
|
|
@@ -56,12 +55,11 @@
|
|
|
56
55
|
}
|
|
57
56
|
.ant-hw-form-base-item-left .ant-hw-form-item-required {
|
|
58
57
|
position: absolute;
|
|
59
|
-
left:
|
|
58
|
+
left: -10px;
|
|
60
59
|
top: 0px;
|
|
61
60
|
}
|
|
62
61
|
.ant-hw-form-base-item-left .ant-hw-form-label-item {
|
|
63
62
|
position: relative;
|
|
64
|
-
padding-left: 10px;
|
|
65
63
|
}
|
|
66
64
|
.ant-hw-form-item-no-required {
|
|
67
65
|
display: none;
|
|
@@ -76,8 +74,8 @@
|
|
|
76
74
|
content: "*";
|
|
77
75
|
margin-right: 4px;
|
|
78
76
|
}
|
|
79
|
-
.ant-hw-form-form-item {
|
|
80
|
-
|
|
77
|
+
.ant-hw-form-form-item .ant-form-item-label {
|
|
78
|
+
overflow: visible;
|
|
81
79
|
}
|
|
82
80
|
.ant-hw-color-box {
|
|
83
81
|
width: 22px;
|
package/package.json
CHANGED
|
@@ -19,12 +19,11 @@
|
|
|
19
19
|
}
|
|
20
20
|
.@{ant-prefix}-hw-form-item-required{
|
|
21
21
|
position: absolute;
|
|
22
|
-
left:
|
|
22
|
+
left: -10px;
|
|
23
23
|
top: 0px;
|
|
24
24
|
}
|
|
25
25
|
.@{ant-prefix}-hw-form-label-item{
|
|
26
26
|
position: relative;
|
|
27
|
-
padding-left: 10px;
|
|
28
27
|
}
|
|
29
28
|
}
|
|
30
29
|
.@{ant-prefix}-hw-form-base-item-top-right {
|
|
@@ -52,12 +51,11 @@
|
|
|
52
51
|
}
|
|
53
52
|
.@{ant-prefix}-hw-form-item-required{
|
|
54
53
|
position: absolute;
|
|
55
|
-
left:
|
|
54
|
+
left: -10px;
|
|
56
55
|
top: 0px;
|
|
57
56
|
}
|
|
58
57
|
.@{ant-prefix}-hw-form-label-item{
|
|
59
58
|
position: relative;
|
|
60
|
-
padding-left: 10px;
|
|
61
59
|
}
|
|
62
60
|
}
|
|
63
61
|
|
|
@@ -75,5 +73,7 @@
|
|
|
75
73
|
margin-right: 4px;
|
|
76
74
|
}
|
|
77
75
|
.@{ant-prefix}-hw-form-form-item{
|
|
78
|
-
|
|
76
|
+
.@{ant-prefix}-form-item-label{
|
|
77
|
+
overflow:visible
|
|
78
|
+
}
|
|
79
79
|
}
|