From ef8852bc2741b3ac9992224e3bd4a4ee328a786c Mon Sep 17 00:00:00 2001 From: afc163 Date: Thu, 12 May 2016 17:44:36 +0800 Subject: [PATCH] Fix footer links --- site/common/styles/footer.less | 11 ++----- site/component/Footer/index.jsx | 51 +++++++++++++++++++-------------- 2 files changed, 32 insertions(+), 30 deletions(-) diff --git a/site/common/styles/footer.less b/site/common/styles/footer.less index 72e152374c..ce771e637e 100644 --- a/site/common/styles/footer.less +++ b/site/common/styles/footer.less @@ -17,20 +17,15 @@ footer ul { footer ul li { float: left; width: 25%; - padding: 5px 2% 15px; + padding: 15px 2%; } footer ul li > h2 { font-size: 16px; - margin: 10px auto 5px; + margin: 0 auto 8px; font-weight: normal; } footer ul li > div { - margin: auto; - margin: 10px 0; -} - -footer ul li > a { - margin: 5px 8px 0 0; + margin: 0 8px 5px 0; } diff --git a/site/component/Footer/index.jsx b/site/component/Footer/index.jsx index 990bd033c7..005d81b6d6 100644 --- a/site/component/Footer/index.jsx +++ b/site/component/Footer/index.jsx @@ -26,35 +26,42 @@ export default class Footer extends React.Component {