upgrade api table style

This commit is contained in:
afc163 2016-03-25 17:43:24 +08:00
parent 8eacba09df
commit ff7940f86c
2 changed files with 7 additions and 2 deletions

View File

@ -173,4 +173,9 @@
.markdown > br,
.markdown > p > br {
clear: both;
}
}
.markdown.api-container table {
font-family: consolas;
font-size: 13px;
}

View File

@ -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>