Style tweak for API rendering

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-29 22:27:22 +01:00
parent 17448083cf
commit 9e5d3306cf

View file

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