mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix some site style
This commit is contained in:
parent
a5eb044d5c
commit
75da5a358a
@ -3,6 +3,7 @@ category: Components
|
||||
chinese: 图标
|
||||
type: Basic
|
||||
english: Icon
|
||||
toc: false
|
||||
---
|
||||
|
||||
有含义的矢量图形,每一个图标打倒一个敌人。
|
||||
|
@ -23,7 +23,7 @@
|
||||
|
||||
.subtitle {
|
||||
font-weight: normal;
|
||||
font-size: 80%;
|
||||
font-size: 90%;
|
||||
margin-left: 12px;
|
||||
}
|
||||
}
|
||||
|
@ -81,7 +81,13 @@ export default class ComponentDoc extends React.Component {
|
||||
</ul>
|
||||
</Affix>
|
||||
<section className="markdown">
|
||||
<h1>{meta.title || meta.english} {meta.subtitle || meta.chinese}</h1>
|
||||
<h1>
|
||||
{title || english}
|
||||
{
|
||||
(!subtitle && !chinese) ? null :
|
||||
<span className="subtitle">{subtitle || chinese}</span>
|
||||
}
|
||||
</h1>
|
||||
{
|
||||
props.utils.toReactComponent(
|
||||
['section', { className: 'markdown' }]
|
||||
|
Loading…
Reference in New Issue
Block a user