Only italicise the boilerplate text

I think this looks better, but what do I know?
This commit is contained in:
David Robertson 2022-07-21 16:13:09 +01:00
parent 3398cf0f63
commit 1d26b3637d
No known key found for this signature in database
GPG key ID: 903ECE108A39DEDD
2 changed files with 1 additions and 5 deletions

View file

@ -370,10 +370,6 @@ footer {
width: 75%; width: 75%;
} }
.row-additional-properties {
font-style: italic;
}
} }
pre { pre {

View file

@ -103,7 +103,7 @@
<td colspan="3"> <td colspan="3">
{{ if (and (reflect.IsMap $additionalProperties)) -}} {{ if (and (reflect.IsMap $additionalProperties)) -}}
{{ if (index $additionalProperties "description") -}} {{ if (index $additionalProperties "description") -}}
Notes on additional properties: {{ $additionalProperties.description }} <em>Notes on additional properties:</em> {{ $additionalProperties.description }}
{{ end }} {{ end }}
{{/* TODO: should we handle the case where additional properties are {{/* TODO: should we handle the case where additional properties are
permitted, but must follow an explicit schema? */}} permitted, but must follow an explicit schema? */}}