Browse Source

Fix Footer margin

pull/2/head
afc163 9 years ago
parent
commit
fb65b98388
  1. 2
      src/components/GlobalFooter/index.less
  2. 4
      src/layouts/BasicLayout.js

2
src/components/GlobalFooter/index.less

@ -1,7 +1,7 @@
@import "~antd/lib/style/themes/default.less";
.globalFooter {
padding: 32px 28px 16px;
margin: 32px 28px 16px;
text-align: center;
.links {

4
src/layouts/BasicLayout.js

@ -229,8 +229,9 @@ class BasicLayout extends React.PureComponent {
</Dropdown>
</div>
</Header>
<Content style={{ margin: 24, height: '100%' }}>
<Content style={{ margin: '24px 24px 0 24px', height: '100%' }}>
{children}
</Content>
<GlobalFooter
links={[{
title: '帮助',
@ -245,7 +246,6 @@ class BasicLayout extends React.PureComponent {
}]}
copyright={<div>Copyright <Icon type="copyright" /> 2017 蚂蚁金服体验技术部出品</div>}
/>
</Content>
</Layout>
</Layout>
</DocumentTitle>

Loading…
Cancel
Save