Browse Source

Fix Footer margin

pull/2/head
afc163 9 years ago
parent
commit
fb65b98388
  1. 2
      src/components/GlobalFooter/index.less
  2. 30
      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 {

30
src/layouts/BasicLayout.js

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

Loading…
Cancel
Save