mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
autodoc: fix misaligned table header when alignment is default (#20220)
This commit is contained in:
parent
65cad8ab13
commit
7cf6650663
2 changed files with 3 additions and 2 deletions
|
|
@ -2087,7 +2087,7 @@ or
|
||||||
A slice is a pointer and a length. The difference between an array and
|
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
|
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.
|
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>
|
</p>
|
||||||
{#code|test_basic_slices.zig#}
|
{#code|test_basic_slices.zig#}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -167,7 +167,8 @@
|
||||||
margin-top: 0.5em;
|
margin-top: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
td {
|
td, th {
|
||||||
|
text-align: unset;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0.5em;
|
padding: 0.5em;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue