cfel-base-components 1.0.2 → 1.0.4

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.
@@ -11,9 +11,13 @@ import PageContainer from '../../src/components/base-component/PageContainer';
11
11
  // import RoleInfo from '../../src/components/universal-pages/roleInfo';
12
12
 
13
13
  const App = () => {
14
- return <PageContainer className={"aaa"}>
15
- 123
16
- </PageContainer>
14
+ return <div className={"a"}>
15
+ <PageContainer >
16
+ 123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123123
17
+ </PageContainer>
18
+ </div>
19
+
20
+
17
21
  }
18
22
  const container = document.getElementById('root');
19
23
  const root = createRoot(container);
@@ -1,3 +1,4 @@
1
- .bbb {
2
- background: cyan;
1
+ .a {
2
+ background: red;
3
+ height: calc(100vh - 48px);
3
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cfel-base-components",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "cfel-base-components",
5
5
  "main": "/src/index.tsx",
6
6
  "types": "src/index.d.ts",
@@ -1,5 +1,4 @@
1
1
  .wrap {
2
- width: 100%;
3
2
  height: 100%;
4
3
  overflow-y: auto;
5
4
  padding: 12px 12px 0;
@@ -11,7 +10,7 @@
11
10
  position: relative;
12
11
  background: white;
13
12
  border-radius: 8px;
14
- height: 100%;
13
+ flex: 1;
15
14
  }
16
15
 
17
16
  .foot-empower {
@@ -161,6 +161,7 @@ body {
161
161
  .lios-content {
162
162
  width: 100%;
163
163
  height: calc(100vh - 48px);
164
+ overflow: auto;
164
165
  }
165
166
 
166
167
  //用户卡片