Style tweak for API rendering (#1012)
Tighter bound on the `max-width` property for paragraphs inside rendered APIs. AFAICT it's only meant to apply to the summary.
This commit is contained in:
parent
dfb1bf2a5d
commit
03cdea4b57
1 changed files with 4 additions and 5 deletions
|
@ -267,10 +267,13 @@ footer {
|
||||||
margin: 1rem 0 3rem 0;
|
margin: 1rem 0 3rem 0;
|
||||||
|
|
||||||
details {
|
details {
|
||||||
|
|
||||||
summary {
|
summary {
|
||||||
padding: .5rem 0;
|
padding: .5rem 0;
|
||||||
list-style-position: outside;
|
list-style-position: outside;
|
||||||
|
|
||||||
|
p {
|
||||||
|
max-width: 80%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -313,10 +316,6 @@ footer {
|
||||||
margin-bottom: 1.5rem;
|
margin-bottom: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
|
||||||
max-width: 80%;
|
|
||||||
}
|
|
||||||
|
|
||||||
p code, table code {
|
p code, table code {
|
||||||
background-color: $white;
|
background-color: $white;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue