Commit 9924514b authored by afc163's avatar afc163

Add minHeight for loading content

parent 36d21a66
...@@ -345,6 +345,7 @@ class BasicLayout extends React.PureComponent { ...@@ -345,6 +345,7 @@ class BasicLayout extends React.PureComponent {
</div> </div>
</Header> </Header>
<Content style={{ margin: '24px 24px 0', height: '100%' }}> <Content style={{ margin: '24px 24px 0', height: '100%' }}>
<div style={{ minHeight: 'calc(100vh - 260px)' }}>
<Switch> <Switch>
{ {
getRouteData('BasicLayout').map(item => getRouteData('BasicLayout').map(item =>
...@@ -361,6 +362,7 @@ class BasicLayout extends React.PureComponent { ...@@ -361,6 +362,7 @@ class BasicLayout extends React.PureComponent {
<Redirect exact from="/" to="/dashboard/analysis" /> <Redirect exact from="/" to="/dashboard/analysis" />
<Route component={NotFound} /> <Route component={NotFound} />
</Switch> </Switch>
</div>
<GlobalFooter <GlobalFooter
links={[{ links={[{
title: 'Pro ι¦–ι‘΅', title: 'Pro ι¦–ι‘΅',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment