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:
Richard van der Hoff 2022-03-31 10:33:53 +01:00 committed by GitHub
parent dfb1bf2a5d
commit 03cdea4b57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -267,10 +267,13 @@ footer {
margin: 1rem 0 3rem 0;
details {
summary {
padding: .5rem 0;
list-style-position: outside;
p {
max-width: 80%;
}
}
}
@ -313,10 +316,6 @@ footer {
margin-bottom: 1.5rem;
}
p {
max-width: 80%;
}
p code, table code {
background-color: $white;
}