mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
upgrade api table style
This commit is contained in:
parent
8eacba09df
commit
ff7940f86c
@ -173,4 +173,9 @@
|
||||
.markdown > br,
|
||||
.markdown > p > br {
|
||||
clear: both;
|
||||
}
|
||||
}
|
||||
|
||||
.markdown.api-container table {
|
||||
font-family: consolas;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ export default class ComponentDoc extends React.Component {
|
||||
<Col className="code-boxes-col-2-1" span="12">{ rightChildren }</Col>
|
||||
}
|
||||
</Row>
|
||||
<section className="markdown">
|
||||
<section className="markdown api-container">
|
||||
{ (doc.api || []).map(utils.objectToComponent.bind(null, location.pathname)) }
|
||||
</section>
|
||||
</article>
|
||||
|
Loading…
Reference in New Issue
Block a user