fix: the index's leader fills its own gap, at LibreOffice's indents

Every row carried 200 dots — clipped on screen, but the clipboard, the
PDF and any measurement got all of them. Cut each to what its gap holds,
and step the levels by 0.5cm, which is what LibreOffice's Contents styles
use. The parity runner now waits for the page numbers to settle too.
This commit is contained in:
Steffen Becker committed 2026-08-10 09:32:49 +00:00
1 parent 8690129c83
commit c26aac1bee
3 files changed
+28 -6

No files matched your search

+5 -4
View File
@@ -219,10 +219,11 @@
.paper .tiptap .toc-entry:hover .toc-text {
text-decoration: underline;
}
.paper .tiptap .toc-level-2 { padding-left: 0.6cm; }
.paper .tiptap .toc-level-3 { padding-left: 1.2cm; }
.paper .tiptap .toc-level-4 { padding-left: 1.8cm; }
.paper .tiptap .toc-level-5 { padding-left: 2.4cm; }
/* One level = 0.5cm, the indent LibreOffice's own Contents 1…5 styles carry. */
.paper .tiptap .toc-level-2 { padding-left: 0.5cm; }
.paper .tiptap .toc-level-3 { padding-left: 1cm; }
.paper .tiptap .toc-level-4 { padding-left: 1.5cm; }
.paper .tiptap .toc-level-5 { padding-left: 2cm; }
.paper .tiptap .toc-text {
white-space: nowrap;
overflow: hidden;