@vtx/components 2.5.1 → 2.5.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [2.5.2](https://git.cloudhw.cn:3443/front-end/react-components/compare/2.5.1...2.5.2) (2021-12-02)
2
+
3
+
4
+ ### 🐛 Bug Fixes
5
+
6
+ * 修复VtxFormLayout表单布局Pane和Card高度问题 ([6776b9a](https://git.cloudhw.cn:3443/front-end/react-components/commit/6776b9a)) by: **gongjinhua**
7
+
8
+
9
+
1
10
  ## [2.5.1](https://git.cloudhw.cn:3443/front-end/react-components/compare/2.5.0...2.5.1) (2021-12-01)
2
11
 
3
12
 
@@ -9,6 +18,7 @@
9
18
 
10
19
  ### 🎫 Chores
11
20
 
21
+ * release v2.5.1 ([356977c](https://git.cloudhw.cn:3443/front-end/react-components/commit/356977c)) by: **gongjinhua**
12
22
  * 安装less-plugin-npm-import编译less [@import](https://git.cloudhw.cn:3443/import)导入npm文件 ([fd9aa70](https://git.cloudhw.cn:3443/front-end/react-components/commit/fd9aa70)) by: **gongjinhua**
13
23
 
14
24
 
@@ -3,6 +3,10 @@
3
3
  padding: 0 24px;
4
4
  overflow: hidden;
5
5
  }
6
+ .vtx-form-layout .vtx-form-card {
7
+ position: relative;
8
+ overflow: hidden;
9
+ }
6
10
  .vtx-form-layout .vtx-form-card-expand-icon {
7
11
  color: rgba(0, 0, 0, 0.45);
8
12
  transition: transform 0.24s, -webkit-transform 0.24s;
@@ -30,6 +34,10 @@
30
34
  }
31
35
  .vtx-form-layout .vtx-form-pane {
32
36
  position: relative;
37
+ -webkit-box-sizing: border-box;
38
+ box-sizing: border-box;
39
+ width: 100%;
40
+ overflow: hidden;
33
41
  }
34
42
  .vtx-form-layout .vtx-form-pane::after {
35
43
  clear: both;
@@ -41,9 +49,11 @@
41
49
  }
42
50
  .vtx-form-layout .vtx-form-pane-title {
43
51
  margin-bottom: 16px;
52
+ overflow: hidden;
44
53
  color: rgba(0, 0, 0, 0.85);
45
54
  font-weight: 500;
46
55
  line-height: 1.5;
56
+ list-style: none;
47
57
  }
48
58
  .vtx-form-layout .vtx-form-pane-content::after {
49
59
  clear: both;
@@ -7,6 +7,8 @@
7
7
  padding: 0 24px;
8
8
  overflow: hidden;
9
9
  .vtx-form-card {
10
+ position: relative;
11
+ overflow: hidden;
10
12
  &-expand-icon {
11
13
  color: fade(@black, 45%);
12
14
  transition: transform 0.24s, -webkit-transform 0.24s;
@@ -35,6 +37,9 @@
35
37
  }
36
38
  .vtx-form-pane {
37
39
  position: relative;
40
+ box-sizing: border-box;
41
+ width: 100%;
42
+ overflow: hidden;
38
43
  &::after {
39
44
  clear: both;
40
45
  }
@@ -45,9 +50,11 @@
45
50
  }
46
51
  &-title {
47
52
  margin-bottom: 16px;
53
+ overflow: hidden;
48
54
  color: fade(@black, 85%);
49
55
  font-weight: 500;
50
56
  line-height: @line-height;
57
+ list-style: none;
51
58
  }
52
59
  &-content {
53
60
  &::after {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/components",
3
- "version": "2.5.1",
3
+ "version": "2.5.2",
4
4
  "description": "React components for Vortex",
5
5
  "keywords": [
6
6
  "react",