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.
pull/1028/head
Richard van der Hoff 3 years ago committed by GitHub
parent dfb1bf2a5d
commit 03cdea4b57
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save