Commit 7cf6650663

expikr <77922942+expikr@users.noreply.github.com>
2024-06-08 21:37:07
autodoc: fix misaligned table header when alignment is default (#20220)
1 parent 65cad8a
Changed files (2)
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#}
 
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;