mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 11:10:01 +08:00
update code style
This commit is contained in:
parent
b0cd0adc42
commit
c132be5175
@ -440,8 +440,9 @@ footer ul li > a {
|
||||
margin: 2.5em 0 1em 0;
|
||||
}
|
||||
|
||||
.markdown p {
|
||||
margin: 1em 0;
|
||||
.markdown p,
|
||||
.markdown pre {
|
||||
margin: 1.2em 0;
|
||||
width: 75%;
|
||||
}
|
||||
|
||||
@ -450,12 +451,11 @@ footer ul li > a {
|
||||
margin-left: 18px;
|
||||
}
|
||||
|
||||
.markdown pre {
|
||||
margin: 15px 0;
|
||||
}
|
||||
|
||||
.markdown pre code {
|
||||
background: #fafafa;
|
||||
background: rgba(0, 0, 0, 0.03);
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
padding: 12px 20px;
|
||||
}
|
||||
|
||||
#api ~ ul > li > p > strong ~ code {
|
||||
|
Loading…
Reference in New Issue
Block a user