mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 13:08:41 +08:00
Improve API table style
This commit is contained in:
parent
14cbb03dc1
commit
479e975d29
@ -89,7 +89,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.markdown code {
|
.markdown code {
|
||||||
margin: 0 3px;
|
margin: 0 1px;
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
padding: .2em .4em;
|
padding: .2em .4em;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
@ -205,6 +205,20 @@
|
|||||||
.markdown.api-container table {
|
.markdown.api-container table {
|
||||||
font-family: Consolas, Menlo, Courier, monospace;
|
font-family: Consolas, Menlo, Courier, monospace;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
|
td:first-child {
|
||||||
|
background: #fcfcfc;
|
||||||
|
font-weight: 500;
|
||||||
|
width: 20%;
|
||||||
|
}
|
||||||
|
td:nth-child(3) {
|
||||||
|
width: 20%;
|
||||||
|
word-break: break-all;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
|
td:last-child {
|
||||||
|
width: 15%;
|
||||||
|
font-size: 12px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.layout-demo,
|
.layout-demo,
|
||||||
|
Loading…
Reference in New Issue
Block a user