Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
bbc2a41c
Commit
bbc2a41c
authored
Aug 29, 2017
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Footer margin
parent
50119aed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
src/components/GlobalFooter/index.less
src/components/GlobalFooter/index.less
+1
-1
src/layouts/BasicLayout.js
src/layouts/BasicLayout.js
+15
-15
No files found.
src/components/GlobalFooter/index.less
View file @
bbc2a41c
@import "~antd/lib/style/themes/default.less";
.globalFooter {
padding
: 32px 28px 16px;
margin
: 32px 28px 16px;
text-align: center;
.links {
...
...
src/layouts/BasicLayout.js
View file @
bbc2a41c
...
...
@@ -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
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment