autodoc: fix misaligned table header when alignment is default (#20220)

This commit is contained in:
expikr 2024-06-08 12:37:07 -07:00 committed by GitHub
parent 65cad8ab13
commit 7cf6650663
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -2087,7 +2087,7 @@ or
A slice is a pointer and a length. The difference between an array and
a slice is that the array's length is part of the type and known at
compile-time, whereas the slice's length is known at runtime.
Both can be accessed with the `len` field.
Both can be accessed with the {#syntax#}len{#endsyntax#} field.
</p>
{#code|test_basic_slices.zig#}

View file

@ -167,7 +167,8 @@
margin-top: 0.5em;
}
td {
td, th {
text-align: unset;
vertical-align: top;
margin: 0;
padding: 0.5em;