kmkf-work-order-service-component 0.5.0-alpha.3 → 0.5.0-alpha.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,8 +4,11 @@
4
4
  max-height: 78px;
5
5
  margin-bottom: 4px;
6
6
  overflow-y: auto;
7
+ background-color: #fff;
7
8
  &:hover {
8
- max-height: 130px;
9
+ position: absolute;
10
+ z-index: 1;
11
+ max-height: 160px;
9
12
  }
10
13
  .template-button {
11
14
  margin-right: 8px;
@@ -383,9 +383,12 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref4) {
383
383
  children: /*#__PURE__*/_jsx("span", {
384
384
  children: "\u9ED8\u8BA4\u8FD130\u5929\u7684\u5168\u90E8\u5DE5\u5355"
385
385
  })
386
- }), /*#__PURE__*/_jsx(TemplateList, {
387
- templateList: allTempLateList,
388
- handleCreateWorkOrder: handleCreateWorkOrder
386
+ }), /*#__PURE__*/_jsx("div", {
387
+ className: "template-list-flex-height",
388
+ children: /*#__PURE__*/_jsx(TemplateList, {
389
+ templateList: allTempLateList,
390
+ handleCreateWorkOrder: handleCreateWorkOrder
391
+ })
389
392
  })]
390
393
  }), searchForm, /*#__PURE__*/_jsxs("div", {
391
394
  className: "custom_box_main_layout",
@@ -18,6 +18,9 @@
18
18
  justify-content: space-between;
19
19
  margin-bottom: 4px;
20
20
  }
21
+ .template-list-flex-height {
22
+ height: 78px;
23
+ }
21
24
  .custom_box_header {
22
25
  padding: 0 16px 16px 16px;
23
26
  border-bottom: 1px solid #f2f2f2;
@@ -124,14 +127,16 @@
124
127
 
125
128
  .custom_box_main_layout {
126
129
  display: flex;
130
+ flex: auto 1 1;
127
131
  flex-direction: column;
128
132
  justify-content: space-between;
133
+ height: calc(100vh - 214px);
134
+ overflow: auto;
129
135
  }
130
136
 
131
137
  .custom_box_main {
132
- height: calc(100vh - 338px);
133
138
  margin-top: 8px;
134
- overflow: auto;
139
+ padding-bottom: 40px;
135
140
  background-color: #fafafa;
136
141
  }
137
142
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.5.0-alpha.3",
3
+ "version": "0.5.0-alpha.4",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",