@gm-pc/frame 1.27.3-beta.0 → 1.27.4-beta.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gm-pc/frame",
3
- "version": "1.27.3-beta.0",
3
+ "version": "1.27.4-beta.1",
4
4
  "description": "",
5
5
  "author": "liyatang <liyatang@qq.com>",
6
6
  "homepage": "https://github.com/gmfe/gm-pc#readme",
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@gm-common/tool": "^2.10.0",
26
- "@gm-pc/react": "^1.27.3-beta.0",
26
+ "@gm-pc/react": "^1.27.4-beta.1",
27
27
  "classnames": "^2.2.5",
28
28
  "lodash": "^4.17.19"
29
29
  },
@@ -31,5 +31,5 @@
31
31
  "react": "^16.14.0",
32
32
  "react-dom": "^16.14.0"
33
33
  },
34
- "gitHead": "0ceef70c23b77f35317414c363389b7be995d777"
34
+ "gitHead": "ccf397b75839212dcd2a70216ac19d8d1febfff2"
35
35
  }
@@ -11,7 +11,6 @@ interface FrameworkProps {
11
11
  isFullScreen?: boolean
12
12
  children: ReactNode
13
13
  className?: string
14
- topExtra?: ReactNode
15
14
  }
16
15
 
17
16
  interface FrameworkStatic {
@@ -38,7 +37,6 @@ const Framework: FC<FrameworkProps> & FrameworkStatic = ({
38
37
  rightTop,
39
38
  children,
40
39
  className,
41
- topExtra,
42
40
  }) => {
43
41
  const addOverflowClass = () => {
44
42
  let flag: any = window.document.body.dataset.overflowFlag || 0
@@ -82,7 +80,6 @@ const Framework: FC<FrameworkProps> & FrameworkStatic = ({
82
80
  children
83
81
  ) : (
84
82
  <div className='gm-framework-full-height'>
85
- {topExtra}
86
83
  <Flex className='gm-framework-container'>
87
84
  {menu && <div className='gm-framework-left'>{menu}</div>}
88
85
  <Flex flex column className='gm-framework-right'>
package/src/index.less CHANGED
@@ -37,7 +37,7 @@
37
37
 
38
38
  .gm-framework-right-top-default-inner {
39
39
  position: fixed;
40
- // top: 0;
40
+ top: 0;
41
41
  left: var(--gm-framework-size-left-width);
42
42
  right: 0;
43
43
  border-bottom: 1px solid var(--gm-color-border-special);