Browse Source

全局高度调整

dev
巴林闲侠 2 years ago
parent
commit
b0983a9915
  1. 2
      web/client/src/layout/actions/global.js
  2. 2
      web/client/src/layout/containers/layout/index.jsx
  3. 7
      web/client/src/sections/analysis/style.less

2
web/client/src/layout/actions/global.js

@ -18,7 +18,7 @@ export function initLayout (title, copyright, sections, actions) {
export const RESIZE = 'RESIZE';
export function resize (clientHeight, clientWidth) {
const headerHeight = 50
const headerHeight = 48
const footerHeight = 0
return {
type: RESIZE,

2
web/client/src/layout/containers/layout/index.jsx

@ -286,7 +286,7 @@ const LayoutContainer = props => {
background: "#F2F3F5",
}}>
<div id="page-content" style={{
height: clientHeight - 12,
height: clientHeight - 0,
minWidth: 520,
position: 'relative',
}}>

7
web/client/src/sections/analysis/style.less

@ -1,7 +0,0 @@
#example {
box-shadow: 3px 3px 2px black;
}
#example:hover {
color: yellowgreen;
}
Loading…
Cancel
Save