mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 19:44:09 +01:00
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:
parent
17448083cf
commit
9e5d3306cf
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue