diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md index 92d425ccc2..4106fb131f 100644 --- a/CHANGELOG.en-US.md +++ b/CHANGELOG.en-US.md @@ -1,5 +1,5 @@ --- -order: 9 +order: 6 title: Change Log toc: false timeline: true diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md index 01b536427e..9bf971f246 100644 --- a/CHANGELOG.zh-CN.md +++ b/CHANGELOG.zh-CN.md @@ -1,5 +1,5 @@ --- -order: 9 +order: 6 title: 更新日志 toc: false timeline: true diff --git a/docs/react/i18n-solution.en-US.md b/docs/react/i18n-solution.en-US.md index 41798c1ebe..f61019c454 100644 --- a/docs/react/i18n-solution.en-US.md +++ b/docs/react/i18n-solution.en-US.md @@ -1,5 +1,5 @@ --- -order: 6 +order: 9 title: i18n Solution link: //github.com/ant-design/intl-example --- diff --git a/docs/react/i18n-solution.zh-CN.md b/docs/react/i18n-solution.zh-CN.md index e5fe22c8fc..d444d6182c 100644 --- a/docs/react/i18n-solution.zh-CN.md +++ b/docs/react/i18n-solution.zh-CN.md @@ -1,5 +1,5 @@ --- -order: 6 +order: 9 title: i18n 方案 link: //github.com/ant-design/intl-example --- diff --git a/site/theme/static/common.less b/site/theme/static/common.less index b408270125..f2f3f91b79 100644 --- a/site/theme/static/common.less +++ b/site/theme/static/common.less @@ -57,6 +57,22 @@ div.main-container { a[disabled] { color: #ccc; } + + .menu-item-link-outside { + position: relative; + .anticon { + font-size: 12px; + color: #999; + opacity: 0; + position: absolute; + right: -4px; + top: 16px; + transition: all .3s; + } + &:hover .anticon { + opacity: 1; + } + } } .aside-container .chinese { diff --git a/site/theme/template/Content/MainContent.jsx b/site/theme/template/Content/MainContent.jsx index e5ace5075a..54adf05627 100644 --- a/site/theme/template/Content/MainContent.jsx +++ b/site/theme/template/Content/MainContent.jsx @@ -1,6 +1,6 @@ import React, { PropTypes } from 'react'; import { Link } from 'bisheng/router'; -import { Row, Col, Menu } from 'antd'; +import { Row, Col, Menu, Icon } from 'antd'; import Article from './Article'; import ComponentDoc from './ComponentDoc'; import * as utils from '../utils'; @@ -110,8 +110,8 @@ export default class MainContent extends React.Component { {text} ) : ( - - {text} + + {text} );