Commit bbc2a41c authored by afc163's avatar afc163

Fix Footer margin

parent 50119aed
@import "~antd/lib/style/themes/default.less"; @import "~antd/lib/style/themes/default.less";
.globalFooter { .globalFooter {
padding: 32px 28px 16px; margin: 32px 28px 16px;
text-align: center; text-align: center;
.links { .links {
......
...@@ -229,23 +229,23 @@ class BasicLayout extends React.PureComponent { ...@@ -229,23 +229,23 @@ class BasicLayout extends React.PureComponent {
</Dropdown> </Dropdown>
</div> </div>
</Header> </Header>
<Content style={{ margin: 24, height: '100%' }}> <Content style={{ margin: '24px 24px 0 24px', height: '100%' }}>
{children} {children}
<GlobalFooter
links={[{
title: '帮助',
href: '',
}, {
title: '隐私',
href: '',
}, {
title: '条款',
href: '',
blankTarget: true,
}]}
copyright={<div>Copyright <Icon type="copyright" /> 2017 蚂蚁金服体验技术部出品</div>}
/>
</Content> </Content>
<GlobalFooter
links={[{
title: '帮助',
href: '',
}, {
title: '隐私',
href: '',
}, {
title: '条款',
href: '',
blankTarget: true,
}]}
copyright={<div>Copyright <Icon type="copyright" /> 2017 蚂蚁金服体验技术部出品</div>}
/>
</Layout> </Layout>
</Layout> </Layout>
</DocumentTitle> </DocumentTitle>
......
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