docpdf: add dot leaders in ToC

This commit is contained in:
Zumi Daxuya 2023-09-12 09:42:07 +07:00
parent e88d3b8483
commit e2e5371e14

View file

@ -227,7 +227,8 @@ if __name__ == "__main__":
letter-spacing: .01em; letter-spacing: .01em;
} }
a.indexItemPre[href^='#']:after { a.indexItemPre[href^='#']:after {
content: ''; content: ' ' leader('.') ' ';
font-size: 1em;
} }
a.indexItem { a.indexItem {
float: right; float: right;