fix: indent list levels by the step both exporters write
Lists were padded 1.5rem per level on screen while the DOCX and ODT exports place item text at LIST_LEFT_STEP_CM (1.27cm) per level, so the editor disagreed with its own output and with Word and LibreOffice by 6.4mm on the first level, doubling with each nesting level.
This commit is contained in:
1 parent
c014a73da2
commit
7d4a0b256e
1 file changed
+3
-1
@@ -397,7 +397,9 @@
|
||||
|
||||
.paper .tiptap ul,
|
||||
.paper .tiptap ol {
|
||||
padding-left: 1.5rem;
|
||||
/* One level = LIST_LEFT_STEP_CM (export/docx.ts, and the 1.27cm base the ODT list
|
||||
styles use), so the on-screen item text sits where both exports place it. */
|
||||
padding-left: 1.27cm;
|
||||
margin-top: 0;
|
||||
/* Matches the exported List_20_* styles, which inherit Standard's zeroed margin. */
|
||||
margin-bottom: 0;
|
||||
|
||||
Reference in new issue
Block a user