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,8 +229,9 @@ class BasicLayout extends React.PureComponent { ...@@ -229,8 +229,9 @@ 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}
</Content>
<GlobalFooter <GlobalFooter
links={[{ links={[{
title: 'ๅธฎๅŠฉ', title: 'ๅธฎๅŠฉ',
...@@ -245,7 +246,6 @@ class BasicLayout extends React.PureComponent { ...@@ -245,7 +246,6 @@ class BasicLayout extends React.PureComponent {
}]} }]}
copyright={<div>Copyright <Icon type="copyright" /> 2017 ่š‚่š้‡‘ๆœไฝ“้ชŒๆŠ€ๆœฏ้ƒจๅ‡บๅ“</div>} copyright={<div>Copyright <Icon type="copyright" /> 2017 ่š‚่š้‡‘ๆœไฝ“้ชŒๆŠ€ๆœฏ้ƒจๅ‡บๅ“</div>}
/> />
</Content>
</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