motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit 7cf6650663368a535ed7363721f2e3d49a2a6c92 (tree)
parent 65cad8ab1398667bdc401cbdfaabfcd9cc8459d8
Author: expikr <77922942+expikr@users.noreply.github.com>
Date:   Sat,  8 Jun 2024 12:37:07 -0700

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


Diffstat:
Mdoc/langref.html.in | 2+-
Mlib/docs/index.html | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/langref.html.in b/doc/langref.html.in @@ -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#} diff --git a/lib/docs/index.html b/lib/docs/index.html @@ -167,7 +167,8 @@ margin-top: 0.5em; } - td { + td, th { + text-align: unset; vertical-align: top; margin: 0; padding: 0.5em;