Clean up unused CSS classes in openapi/render-operation partial

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
Kévin Commaille 2024-11-18 15:36:45 +01:00
parent c5d7eb7a2d
commit 93692b5486
No known key found for this signature in database
GPG key ID: 0C971D9DBC9D678D

View file

@ -29,13 +29,13 @@
{{ end }}
{{ $anchor = printf "%s%s%s" $anchor (lower $method) (anchorize $endpoint) }}
<section class="rendered-data http-api {{ $method }}">
<section class="rendered-data">
<details {{ if not site.Params.ui.rendered_data_collapsed }}open{{ end }}>
<summary>
<h1 id="{{ $anchor }}">
<span class="http-api-method {{ $method }}">{{ $method }}</span>
<span class="http-api-method">{{ $method }}</span>
<span class="endpoint{{ if $operation_data.deprecated }} deprecated-inline{{ end }}">{{ $endpoint }}</span>
</h1>
</summary>